<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - User account avatar menu appears in wrong position under Wayland when I use touchscreen"
href="https://bugzilla.gnome.org/show_bug.cgi?id=771802#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - User account avatar menu appears in wrong position under Wayland when I use touchscreen"
href="https://bugzilla.gnome.org/show_bug.cgi?id=771802">bug 771802</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=348372&action=diff" name="attach_348372" title="wayland: Try to guess the grabbed pointer better">attachment 348372</a> <a href="attachment.cgi?id=348372&action=edit" title="wayland: Try to guess the grabbed pointer better">[details]</a></span> <a href='review?bug=771802&attachment=348372'>[review]</a>
wayland: Try to guess the grabbed pointer better
When a popup is mapped as a result of a "click" on the emulated touch
pointer, we should not use the actual pointer to get any coordinates
when guessing the transient-for of popup when mapping.
Instead, let the seat guess what pointer was grabbed, and use that to
get the coordinate for transient-for guessing. The guessing is done by
checking if the touch master has an emulated touch point (i.e. if there
is any active touch point) and if so guessing that the touch master
'pointer' was the one grabbed; otherwise fall back to the actual
pointer master.</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>