<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [WAYLAND] random loss of focus on toplevel when mapping/unmapping grab-less xdg_popup"
href="https://bugzilla.gnome.org/show_bug.cgi?id=773210#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [WAYLAND] random loss of focus on toplevel when mapping/unmapping grab-less xdg_popup"
href="https://bugzilla.gnome.org/show_bug.cgi?id=773210">bug 773210</a>
from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=ofourdan%40redhat.com" title="Olivier Fourdan <ofourdan@redhat.com>"> <span class="fn">Olivier Fourdan</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=338014&action=diff" name="attach_338014" title="[PATCH] wayland: Force grab-less xdg_popup on top">attachment 338014</a> <a href="attachment.cgi?id=338014&action=edit" title="[PATCH] wayland: Force grab-less xdg_popup on top">[details]</a></span> <a href='review?bug=773210&attachment=338014'>[review]</a>
[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.</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>