seat: announce pointer capability for tablet tool

We use pointer focus for the tablet tool, so we
should also use this capability. There is no
dedicated tablet tool capability.
This commit is contained in:
Jens Peters 2024-04-26 17:27:36 +02:00 committed by Johan Malm
parent 41a3b68846
commit b6e439a5cc

View file

@ -397,6 +397,7 @@ seat_update_capabilities(struct seat *seat)
caps |= WL_SEAT_CAPABILITY_KEYBOARD; caps |= WL_SEAT_CAPABILITY_KEYBOARD;
break; break;
case WLR_INPUT_DEVICE_POINTER: case WLR_INPUT_DEVICE_POINTER:
case WLR_INPUT_DEVICE_TABLET_TOOL:
caps |= WL_SEAT_CAPABILITY_POINTER; caps |= WL_SEAT_CAPABILITY_POINTER;
break; break;
case WLR_INPUT_DEVICE_TOUCH: case WLR_INPUT_DEVICE_TOUCH: