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.
This commit is contained in:
Isaac Freund 2024-02-29 13:31:00 +01:00
parent 889150f866
commit b821be5749
No known key found for this signature in database
GPG key ID: 86DED400DDFD7A11
10 changed files with 13 additions and 13 deletions

View file

@ -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;