[Wayland-bugs] [Bug 766566] Wayland: gdk_screen_get_monitor_at_window() unreliable under Wayland

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Tue May 17 13:44:34 UTC 2016


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

--- Comment #3 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 328081
  --> https://bugzilla.gnome.org/attachment.cgi?id=328081&action=edit
[PATCH 3/3] wayland: Add get_monitor_at_window to Wayland backend

Given that Wayland has no global coordinate, the only way for gdk to
retrieve the monitor a window last entered is to retrieve it from the
GdkWaylandWindow itself.

Implement the backend specific get_monitor_at_window() to return the
monitor that was last entered by the window.

-- 
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/20160517/aa409318/attachment.html>


More information about the wayland-bugs mailing list