]> git.mdlowis.com Git - proto/labwc.git/commitdiff
seat: announce pointer capability for tablet tool
authorJens Peters <jp7677@gmail.com>
Fri, 26 Apr 2024 15:27:36 +0000 (17:27 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sun, 19 May 2024 20:21:52 +0000 (21:21 +0100)
We use pointer focus for the tablet tool, so we
should also use this capability. There is no
dedicated tablet tool capability.

src/seat.c

index 34158f2f29e7b427134c05a4d23e92fc212a55ef..93a01abb0c0d130a38b50ccd54b4fe0eaf4b9cbf 100644 (file)
@@ -397,6 +397,7 @@ seat_update_capabilities(struct seat *seat)
                        caps |= WL_SEAT_CAPABILITY_KEYBOARD;
                        break;
                case WLR_INPUT_DEVICE_POINTER:
+               case WLR_INPUT_DEVICE_TABLET_TOOL:
                        caps |= WL_SEAT_CAPABILITY_POINTER;
                        break;
                case WLR_INPUT_DEVICE_TOUCH: