[Wayland-bugs] [Bug 771802] User account avatar menu appears in wrong position under Wayland when I use touchscreen
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Tue Mar 21 04:02:46 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=771802
--- Comment #9 from Jonas Ã…dahl <jadahl at gmail.com> ---
Created attachment 348372
--> https://bugzilla.gnome.org/attachment.cgi?id=348372&action=edit
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.
--
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/20170321/043c4962/attachment.html>
More information about the wayland-bugs
mailing list