Make sure we report grab broken on window destroy

This commit is contained in:
Alexander Larsson 2009-02-02 15:38:58 +01:00 committed by Alexander Larsson
parent 025b6aa741
commit 7b67393b8a

View File

@ -429,6 +429,7 @@ _gdk_xgrab_check_destroy (GdkWindow *window)
server so we know its ended in the server,
just make sure its ended. */
grab->serial_end = grab->serial_start;
grab->implicit_ungrab = TRUE;
}
if (window == display->keyboard_grab.native_window &&