aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/libinput/backend.c2
-rw-r--r--backend/libinput/events.c2
-rw-r--r--backend/wayland/seat.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/backend/libinput/backend.c b/backend/libinput/backend.c
index bea999fd..6e59ee3e 100644
--- a/backend/libinput/backend.c
+++ b/backend/libinput/backend.c
@@ -220,7 +220,7 @@ struct libinput_device *wlr_libinput_get_device_handle(
case WLR_INPUT_DEVICE_TOUCH:
dev = device_from_touch(wlr_touch_from_input_device(wlr_dev));
break;
- case WLR_INPUT_DEVICE_TABLET_TOOL:
+ case WLR_INPUT_DEVICE_TABLET:
dev = device_from_tablet(wlr_tablet_from_input_device(wlr_dev));
break;
case WLR_INPUT_DEVICE_TABLET_PAD:
diff --git a/backend/libinput/events.c b/backend/libinput/events.c
index 1bf70ce2..25e71b72 100644
--- a/backend/libinput/events.c
+++ b/backend/libinput/events.c
@@ -47,7 +47,7 @@ bool wlr_input_device_is_libinput(struct wlr_input_device *wlr_dev) {
case WLR_INPUT_DEVICE_TOUCH:
return wlr_touch_from_input_device(wlr_dev)->impl ==
&libinput_touch_impl;
- case WLR_INPUT_DEVICE_TABLET_TOOL:
+ case WLR_INPUT_DEVICE_TABLET:
return wlr_tablet_from_input_device(wlr_dev)-> impl ==
&libinput_tablet_impl;
case WLR_INPUT_DEVICE_TABLET_PAD:
diff --git a/backend/wayland/seat.c b/backend/wayland/seat.c
index 0de149bb..1fa7e3e4 100644
--- a/backend/wayland/seat.c
+++ b/backend/wayland/seat.c
@@ -313,7 +313,7 @@ bool wlr_input_device_is_wl(struct wlr_input_device *dev) {
return wlr_pointer_from_input_device(dev)->impl == &wl_pointer_impl;
case WLR_INPUT_DEVICE_TOUCH:
return wlr_touch_from_input_device(dev)->impl == &touch_impl;
- case WLR_INPUT_DEVICE_TABLET_TOOL:
+ case WLR_INPUT_DEVICE_TABLET:
return wlr_tablet_from_input_device(dev)-> impl == &wl_tablet_impl;
case WLR_INPUT_DEVICE_TABLET_PAD:
return wlr_tablet_pad_from_input_device(dev)->impl == &wl_tablet_pad_impl;