[Wayland-bugs] [Bug 776232] [wayland] second click goes to previously right clicked item in titlebar

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Fri Jan 6 13:22:19 UTC 2017


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

--- Comment #4 from Olivier Fourdan <ofourdan at redhat.com> ---
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.

-- 
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/20170106/444248da/attachment.html>


More information about the wayland-bugs mailing list