[Wayland-bugs] [Bug 748892] wayland: focus issue with gnome-terminal
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Wed Jun 17 04:24:37 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=748892
--- Comment #12 from Olivier Fourdan <ofourdan at redhat.com> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150617/b80a8708/attachment-0001.html>
More information about the wayland-bugs
mailing list