[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
Wed Oct 19 12:27:10 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=773210
--- Comment #6 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 338014
--> https://bugzilla.gnome.org/attachment.cgi?id=338014&action=edit
[PATCH] wayland: Force grab-less xdg_popup on top
mutter would remove focus from a toplevel when showing one of its
transient window which is not on top and not focused.
When using xdg_popup without grab as allowed in xdg_shell v6, the popup
wouldn't be focused, and if an intermediate event occurs before the
popup is shown, it's not placed on top either, which could randomly
trigger a loss of focus in the corresponding toplevel window.
For grab-less xdg_popup set the type to META_WINDOW_OVERRIDE_OTHER and
make sure such windows are placed on top by mutter.
--
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/20161019/47e75a52/attachment.html>
More information about the wayland-bugs
mailing list