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

--- Comment #12 from Olivier Fourdan <[email protected]> ---
I doubt this is specific to GtkMenu tbh, maybe gdk-wayland backend.

It seems to me that the grabs get released when a "grab-notify" signal is
emitted from  _gtk_widget_grab_notify() called by
gtk_grab_notify()/gtk_grab_notify_foreach() in gtk/gtkmain.c 

In the case of a GtkMenu with a window-group, that signal is not emitted for
the GtkMenu because of the portion of code the patch removes when using Wayland
(I do have a branch with tons of logs added that tend to show this, I can share
the -ugly- patch and/or logs if needed)

I think we do not see this in x11 simply because the grab gets released
automatically by the X server when the window menu is unmapped but Wayland has
no grab per se (yet) so this is all managed by signals in gtk. 

Or am I mistaken?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to