From b821be5749061b0b73d777cb2fc74204cbf78278 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 29 Feb 2024 13:31:00 +0100 Subject: input-device: unconfuse tablet naming WLR_INPUT_DEVICE_TABLET_TOOL is renamed to WLR_INPUT_DEVICE_TABLET The input device corresponds to wlr_tablet, not wlr_tablet_tool. --- backend/libinput/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/libinput/events.c') 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: -- cgit v1.2.3