I noticed GdkEventGrabBroken has "implicit" and "grab_window" fields without accessor methods. The grab_window is not reffed by the event code (gdk_event_copy, gdk_event_free) as far as I can see, which makes storing anything there a little dangerous.
Attachment:
GdkEvent.xs.grab-broken.diff
Description: Text Data