diff options
-rw-r--r-- | backend/wayland/seat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/wayland/seat.c b/backend/wayland/seat.c index 1fcb93e5..d19744d8 100644 --- a/backend/wayland/seat.c +++ b/backend/wayland/seat.c @@ -473,6 +473,9 @@ static void pointer_handle_output_destroy(struct wl_listener *listener, void *data) { struct wlr_wl_pointer *pointer = wl_container_of(listener, pointer, output_destroy); + if (pointer->relative_pointer) { + zwp_relative_pointer_v1_destroy(pointer->relative_pointer); + } wlr_input_device_destroy(&pointer->input_device->wlr_input_device); } |