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

Jonas Ådahl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #332693|0                           |1
        is obsolete|                            |

--- Comment #12 from Jonas Ådahl <[email protected]> ---
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.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to