wayland: Add get_monitor_at_window to Wayland backend

Desktop / GNOME / GTK - Olivier Fourdan [redhat.com] - 18 May 2016 12:07 UTC

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.

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

b03784e wayland: Add get_monitor_at_window to Wayland backend
gdk/wayland/gdkdisplay-wayland.c | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Upstream: git.gnome.org


  • Share