This patch causes an annoying g_critical if you add a grab on a widget before it is realized. In this case toplevel->window will be null.
This also make me wonder what happens if you add a grab to an offscreen widget before realizing it. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gtk+2.0 in Ubuntu. https://bugs.launchpad.net/bugs/512427 Title: Don't let offscreen widgets do grab adds Status in “gtk+2.0” package in Ubuntu: Fix Released Bug description: Widgets inside GtkOffscreenWindow seem like they should not be allowed to do grab the mouse or whatever, as this can deactivate open menus and stuff. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/512427/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp