forked from AuroraMiddleware/gtk
macos: track grab serial like other backends
This is what is done elsewhere, so copy that here too now that we actually generate serials for events.
This commit is contained in:
parent
f11c23f407
commit
26b9254ac7
@ -122,7 +122,7 @@ gdk_macos_device_ungrab (GdkDevice *device,
|
|||||||
grab = _gdk_display_get_last_device_grab (display, device);
|
grab = _gdk_display_get_last_device_grab (display, device);
|
||||||
|
|
||||||
if (grab != NULL)
|
if (grab != NULL)
|
||||||
grab->serial_end = 0;
|
grab->serial_end = grab->serial_start;
|
||||||
|
|
||||||
_gdk_display_device_grab_update (display, device, 0);
|
_gdk_display_device_grab_update (display, device, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user