diff options
author | Isaac Freund <mail@isaacfreund.com> | 2024-02-29 13:31:00 +0100 |
---|---|---|
committer | Isaac Freund <mail@isaacfreund.com> | 2024-02-29 16:09:07 +0100 |
commit | b821be5749061b0b73d777cb2fc74204cbf78278 (patch) | |
tree | e67d855a13f592f6e06afef8b34b96ec00a4f1c3 /examples/pointer.c | |
parent | 889150f8660a3e802d377670e57f3951c9266510 (diff) |
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.
Diffstat (limited to 'examples/pointer.c')
-rw-r--r-- | examples/pointer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pointer.c b/examples/pointer.c index 81529e88..fed37a5b 100644 --- a/examples/pointer.c +++ b/examples/pointer.c @@ -298,7 +298,7 @@ static void new_input_notify(struct wl_listener *listener, void *data) { switch (device->type) { case WLR_INPUT_DEVICE_POINTER: case WLR_INPUT_DEVICE_TOUCH: - case WLR_INPUT_DEVICE_TABLET_TOOL: + case WLR_INPUT_DEVICE_TABLET: wlr_cursor_attach_input_device(state->cursor, device); break; |