aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
Diffstat (limited to 'backend/libinput')
-rw-r--r--backend/libinput/backend.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c
index 0fa3aca7..2f31d84e 100644
--- a/backend/libinput/backend.c
+++ b/backend/libinput/backend.c
@@ -146,3 +146,7 @@ error_backend:
free(backend);
return NULL;
}
+
+struct libinput_device *wlr_libinput_get_device_handle(struct wlr_input_device *dev) {
+ return dev->state->handle;
+}