<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [wayland] second click goes to previously right clicked item in titlebar"
href="https://bugzilla.gnome.org/show_bug.cgi?id=776232#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [wayland] second click goes to previously right clicked item in titlebar"
href="https://bugzilla.gnome.org/show_bug.cgi?id=776232">bug 776232</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>Looking at the gtk/gdk side of things, it appears that the "wrong" widget is
selected in gtkmain's gtk_get_event_widget() based on the event given window,
which is "kept" from the initial button press event's pointer_info.focus.
Maybe mutter should send the client a leave notify on the surface when mapping
the window menu?
It would in the case of a "grab", but for the window menu there is no pointer
grab issued, which is expected, but that might explain that side effect in
gtk/gdk.
x11 is not affected because the menu always trigger a pointer grab, afaik.</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>