https://bugzilla.gnome.org/show_bug.cgi?id=771802

--- Comment #9 from Jonas Ã…dahl <[email protected]> ---
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.
_______________________________________________
wayland-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to