[Wayland-bugs] [Bug 766566] Wayland: gdk_screen_get_monitor_at_window() unreliable under Wayland
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Thu May 19 08:24:14 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=766566
Olivier Fourdan <ofourdan at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #21 from Olivier Fourdan <ofourdan at redhat.com> ---
(In reply to Jonas Ã…dahl from comment #18)
> Yea, it makes sense to keep it private, so that no new place starts to rely
> on something that isn't reliable.
But again, there is no reason for it to be unreliable, we "just" have to add
the relevant missing protocol bits to make it reliable.
> Should add the "get_monitor_at_window" to the list of things to deprecate
> for GTK4 I guess.
Yet I am not entirely convinced "get_monitor_at_window()" is not useful, even
more when there is no global coordinates like in Wayland, it's pretty much the
only remaining way to identify the monitor, unless we reckon identifying the
monitor is not something clients shouldn't be able to do.
Meanwhile:
attachment 328173 has been pushed as commit 0b58c96 - wayland: Make
gdk_wayland_window_get_wl_output() private
--
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/20160519/ce7674aa/attachment.html>
More information about the wayland-bugs
mailing list