aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/headless/backend.c1
-rw-r--r--backend/libinput/events.c3
-rw-r--r--backend/wayland/backend.c1
-rw-r--r--backend/wayland/seat.c3
-rw-r--r--backend/wayland/tablet_v2.c1
-rw-r--r--backend/x11/backend.c1
-rw-r--r--backend/x11/input_device.c1
7 files changed, 2 insertions, 9 deletions
diff --git a/backend/headless/backend.c b/backend/headless/backend.c
index e44595de..b14dda4a 100644
--- a/backend/headless/backend.c
+++ b/backend/headless/backend.c
@@ -1,6 +1,5 @@
#include <assert.h>
#include <stdlib.h>
-#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/interfaces/wlr_output.h>
#include <wlr/util/log.h>
#include "backend/headless.h"
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;
diff --git a/backend/wayland/backend.c b/backend/wayland/backend.c
index a5b297ba..c0e99a22 100644
--- a/backend/wayland/backend.c
+++ b/backend/wayland/backend.c
@@ -13,7 +13,6 @@
#include <xf86drm.h>
#include <wlr/backend/interface.h>
-#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/interfaces/wlr_output.h>
#include <wlr/util/log.h>
diff --git a/backend/wayland/seat.c b/backend/wayland/seat.c
index ae669c4d..28466bb3 100644
--- a/backend/wayland/seat.c
+++ b/backend/wayland/seat.c
@@ -9,7 +9,6 @@
#include <wayland-client.h>
-#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/interfaces/wlr_keyboard.h>
#include <wlr/interfaces/wlr_output.h>
#include <wlr/interfaces/wlr_pointer.h>
@@ -494,7 +493,7 @@ struct wlr_wl_input_device *create_wl_input_device(
char name[name_size];
(void) snprintf(name, name_size, "wayland-%s-%s", type_name, seat->name);
- wlr_input_device_init(wlr_dev, type, NULL, name);
+ wlr_input_device_init(wlr_dev, type, name);
wl_list_insert(&seat->backend->devices, &dev->link);
return dev;
}
diff --git a/backend/wayland/tablet_v2.c b/backend/wayland/tablet_v2.c
index d24bf340..95cdd119 100644
--- a/backend/wayland/tablet_v2.c
+++ b/backend/wayland/tablet_v2.c
@@ -10,7 +10,6 @@
#include <wlr/interfaces/wlr_tablet_pad.h>
#include <wlr/interfaces/wlr_tablet_tool.h>
#include <wlr/types/wlr_input_device.h>
-#include <wlr/interfaces/wlr_input_device.h>
#include "util/signal.h"
#include "util/time.h"
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index dbee4379..64bcf475 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -24,7 +24,6 @@
#include <wlr/backend/interface.h>
#include <wlr/backend/x11.h>
-#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/interfaces/wlr_keyboard.h>
#include <wlr/interfaces/wlr_pointer.h>
#include <wlr/util/log.h>
diff --git a/backend/x11/input_device.c b/backend/x11/input_device.c
index a2d7ef53..f87f53a0 100644
--- a/backend/x11/input_device.c
+++ b/backend/x11/input_device.c
@@ -10,7 +10,6 @@
#include <xcb/xfixes.h>
#include <xcb/xinput.h>
-#include <wlr/interfaces/wlr_input_device.h>
#include <wlr/interfaces/wlr_keyboard.h>
#include <wlr/interfaces/wlr_pointer.h>
#include <wlr/interfaces/wlr_touch.h>