[Wayland-bugs] [Bug 773210] [WAYLAND] random loss of focus on toplevel when mapping/unmapping grab-less xdg_popup

mutter (GNOME Bugzilla) bugzilla at gnome.org
Tue Oct 25 12:21:43 UTC 2016


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

Rui Matos <tiagomatos at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #338386|none                        |reviewed
             status|                            |

--- Comment #13 from Rui Matos <tiagomatos at gmail.com> ---
Review of attachment 338386:

There is no "ungrab" event, this function is handling "ungrabbed" events, i.e.
events for which there's no explicit grab (display->grab_op ==
META_GRAB_OP_NONE) but still come through mutter because either we're a wayland
compositor or mutter has a passive button grab on the window because it was
unfocused (we need that grab to be able to get an event on X to focus the
window if users click it).

So, thinking a bit more about this, it seems that we should instead be handling
these wayland windows that don't want keyboard focus in the wayland vfunc
meta_window_wayland_focus() and leave the generic code here as is.

-- 
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/20161025/08775ba5/attachment.html>


More information about the wayland-bugs mailing list