[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:43:41 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=766566
--- Comment #1 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 328079
--> https://bugzilla.gnome.org/attachment.cgi?id=328079&action=edit
[PATCH 1/3] display: Add vfunc for get_monitor_at_window
Some backends (namely Wayland) do not support global coordinates so
using the window position to determine the monitor will always fail on
such backends.
In such cases, the backend itself might be better suited to identify
the monitor a given window resides on.
Add a vfunc get_monitor_at_window() to the display class so that we can
use the backend to retrieve the monitor, if the backend implements it.
--
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/75ac132e/attachment.html>
More information about the wayland-bugs
mailing list