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.
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.