mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 10:20:07 +00:00
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);
|
||||
|
||||
if (grab != NULL)
|
||||
grab->serial_end = 0;
|
||||
grab->serial_end = grab->serial_start;
|
||||
|
||||
_gdk_display_device_grab_update (display, device, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user