aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput/events.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/libinput/events.c')
-rw-r--r--backend/libinput/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/libinput/events.c b/backend/libinput/events.c
index af5bb184..af54177c 100644
--- a/backend/libinput/events.c
+++ b/backend/libinput/events.c
@@ -15,7 +15,7 @@
void destroy_libinput_input_device(struct wlr_libinput_input_device *dev) {
if (dev->keyboard.impl) {
- wlr_keyboard_destroy(&dev->keyboard);
+ wlr_keyboard_finish(&dev->keyboard);
}
if (dev->pointer.impl) {
wlr_pointer_destroy(&dev->pointer);