diff options
Diffstat (limited to 'backend/libinput/backend.c')
-rw-r--r-- | backend/libinput/backend.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c index bdc36591..e22c4bfa 100644 --- a/backend/libinput/backend.c +++ b/backend/libinput/backend.c @@ -243,6 +243,9 @@ struct libinput_device *wlr_libinput_get_device_handle( case WLR_INPUT_DEVICE_KEYBOARD: dev = device_from_keyboard(wlr_dev->keyboard); break; + case WLR_INPUT_DEVICE_POINTER: + dev = device_from_pointer(wlr_dev->pointer); + break; default: dev = (struct wlr_libinput_input_device *)wlr_dev; break; |