<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Wayland: gdk_screen_get_monitor_at_window() unreliable under Wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=766566#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Wayland: gdk_screen_get_monitor_at_window() unreliable under Wayland"
href="https://bugzilla.gnome.org/show_bug.cgi?id=766566">bug 766566</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=328079&action=diff" name="attach_328079" title="[PATCH 1/3] display: Add vfunc for get_monitor_at_window">attachment 328079</a> <a href="attachment.cgi?id=328079&action=edit" title="[PATCH 1/3] display: Add vfunc for get_monitor_at_window">[details]</a></span> <a href='review?bug=766566&attachment=328079'>[review]</a>
[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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>