aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2022-02-09 16:14:56 -0500
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-02-22 14:23:46 -0500
commite279266f714c7122e9ad97d56d047313f78cfdbe (patch)
tree17b0a31f852cb41bed96d53a803ee641561624fe /backend/libinput
parent91ba28e020092089eb9cc960530355de68c60a3d (diff)
interfaces: remove wlr_input_device_impl
Diffstat (limited to 'backend/libinput')
-rw-r--r--backend/libinput/events.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/libinput/events.c b/backend/libinput/events.c
index 67ca49d5..e8d99f25 100644
--- a/backend/libinput/events.c
+++ b/backend/libinput/events.c
@@ -4,7 +4,6 @@
#include <stdlib.h>
#include <wayland-util.h>
#include <wlr/backend/session.h>
-#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/util/log.h>
#include "backend/libinput.h"
#include "util/array.h"
@@ -63,7 +62,7 @@ static struct wlr_input_device *allocate_device(
wl_list_insert(wlr_devices, &dev->link);
dev->handle = libinput_dev;
libinput_device_ref(libinput_dev);
- wlr_input_device_init(wlr_dev, type, NULL, name);
+ wlr_input_device_init(wlr_dev, type, name);
wlr_dev->vendor = libinput_device_get_id_vendor(libinput_dev);
wlr_dev->product = libinput_device_get_id_product(libinput_dev);
return wlr_dev;