https://bugzilla.gnome.org/show_bug.cgi?id=776225

--- Comment #5 from Olivier Fourdan <[email protected]> ---
Created attachment 342930
  --> https://bugzilla.gnome.org/attachment.cgi?id=342930&action=edit
[PATCH gtk-3-22] wayland: translate subsurfaces coordinates

When mapping a popup window from a popover, which under Wayland is
translated as a subsurface with the root window as parent, the menu
appears misplaced, located according to the toplevel  location instead
of the subsurface location.

When the parent of a popup window is a subsurface, translate the
coordinates back to the toplevel coordinates so that move_to_rect()
correctly locates the popup in the subsurface.

--

Note, it's *meh* but it appears to do the job... i.e., I'm not proud of this
patch but failed to find a better solution without a lot of potential impact
elsewhere...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to