gdk: Include pads in GDK_SEAT_CAPABILITY_ALL
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 13 Jun 2023 22:53:11 +0000 (00:53 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 13 Jun 2023 23:42:53 +0000 (01:42 +0200)
The GDK_SEAT_CAPABILITY_TABLET_PAD stood awkwardly out of the
ALL value. Even though it's not a keyboard, its focus has more
resemblance to it, so it should be part of this group together
with keyboards.

gdk/gdkseat.h

index 5c4f09c77043b6f4d5f2269ca5d46c23be5cfb4a..dab7cde80e37a148232f4f51a5f7c643fcb7d353 100644 (file)
@@ -55,7 +55,7 @@ typedef enum {
   GDK_SEAT_CAPABILITY_KEYBOARD      = 1 << 3,
   GDK_SEAT_CAPABILITY_TABLET_PAD    = 1 << 4,
   GDK_SEAT_CAPABILITY_ALL_POINTING  = (GDK_SEAT_CAPABILITY_POINTER | GDK_SEAT_CAPABILITY_TOUCH | GDK_SEAT_CAPABILITY_TABLET_STYLUS),
-  GDK_SEAT_CAPABILITY_ALL           = (GDK_SEAT_CAPABILITY_ALL_POINTING | GDK_SEAT_CAPABILITY_KEYBOARD)
+  GDK_SEAT_CAPABILITY_ALL           = (GDK_SEAT_CAPABILITY_ALL_POINTING | GDK_SEAT_CAPABILITY_KEYBOARD | GDK_SEAT_CAPABILITY_TABLET_PAD)
 } GdkSeatCapabilities;
 
 struct _GdkSeat