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. --- include/wlr/types/wlr_cursor.h | 2 +- include/wlr/types/wlr_input_device.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_cursor.h b/include/wlr/types/wlr_cursor.h index 004be0f1..57d6e508 100644 --- a/include/wlr/types/wlr_cursor.h +++ b/include/wlr/types/wlr_cursor.h @@ -171,7 +171,7 @@ void wlr_cursor_set_surface(struct wlr_cursor *cur, struct wlr_surface *surface, * * - WLR_INPUT_DEVICE_POINTER * - WLR_INPUT_DEVICE_TOUCH - * - WLR_INPUT_DEVICE_TABLET_TOOL + * - WLR_INPUT_DEVICE_TABLET */ void wlr_cursor_attach_input_device(struct wlr_cursor *cur, struct wlr_input_device *dev); diff --git a/include/wlr/types/wlr_input_device.h b/include/wlr/types/wlr_input_device.h index 3e47dc47..24a02483 100644 --- a/include/wlr/types/wlr_input_device.h +++ b/include/wlr/types/wlr_input_device.h @@ -23,7 +23,7 @@ enum wlr_input_device_type { WLR_INPUT_DEVICE_KEYBOARD, // struct wlr_keyboard WLR_INPUT_DEVICE_POINTER, // struct wlr_pointer WLR_INPUT_DEVICE_TOUCH, // struct wlr_touch - WLR_INPUT_DEVICE_TABLET_TOOL, // struct wlr_tablet + WLR_INPUT_DEVICE_TABLET, // struct wlr_tablet WLR_INPUT_DEVICE_TABLET_PAD, // struct wlr_tablet_pad WLR_INPUT_DEVICE_SWITCH, // struct wlr_switch }; -- cgit v1.2.3