[Wayland-bugs] [Bug 769402] regression in menu positioning on wayland
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Mon Aug 8 07:08:25 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=769402
Jonas Ådahl <jadahl at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #332693|0 |1
is obsolete| |
--- Comment #12 from Jonas Ådahl <jadahl at gmail.com> ---
Created attachment 332910
--> https://bugzilla.gnome.org/attachment.cgi?id=332910&action=edit
gdkwindow: Use toplevel for getting root cords in move_to_rect()
The Wayland backend manages a set of fake root coordinate spaces, where
each non-relative positioned toplevel (i.e. not popups, popovers,
tooltips etc) make up the basis of separate fake root coordinate spaces.
This means that the Wayland backend doesn't have the abilitiy get a
proper root coordinate when querying on a non-toplevel GdkWindow. To
avoid this issue, first find the toplevel, while translating the anchor
rect coordinates so that they are in the toplevel window coordinate
space. Then use this toplevel to translate the coordinates to root
window coordinate space.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160808/6b672daa/attachment-0001.html>
More information about the wayland-bugs
mailing list