aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-12 19:55:40 -0400
committerDrew DeVault <sir@cmpwn.com>2017-08-12 19:56:55 -0400
commit60d1131df2d1fce40d507f290949eba55baa2087 (patch)
treeffbe0d56d1ac7fcae4e1ba7be109facbac8813d8 /backend/libinput
parent234b2104e4cb21437572bc4f57710b0312acaa09 (diff)
Re-enable backend autoselection
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;
+}