diff options
Diffstat (limited to 'src/wayland-server.c')
-rw-r--r-- | src/wayland-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland-server.c b/src/wayland-server.c index 421c3f0..97e1c17 100644 --- a/src/wayland-server.c +++ b/src/wayland-server.c @@ -502,7 +502,7 @@ wl_input_device_end_grab(struct wl_input_device *device, uint32_t time) interface = device->grab->interface; interface->end(device->grab, time); - device->grab = NULL; + device->grab = &device->default_grab; wl_list_remove(&device->grab_listener.link); } |