summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPovilas Kanapickas <povilas@radix.lt>2021-05-17 14:53:26 +0300
committerPovilas Kanapickas <povilas@radix.lt>2021-05-17 14:53:26 +0300
commitb492f7c9329dede53aa8ba882342255445add93e (patch)
treee13adc9602b0f93c6ac4806729b91600de22b520
parentb67e10871eefa67c86c0c8c6b880ab5921b5be88 (diff)
specs: Fix type of GESTURECLASS num_touches member
This was a copy-paste error from TOUCHCLASS. The protocol structs use uint8_t for num_touches. Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
-rw-r--r--specs/XI2proto.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index 88e6292..ef3097c 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -940,7 +940,8 @@ XIQueryDevice
GESTURECLASS³ { type: GestureClass
length: CARD16
sourceid: CARD16
- num_touches: CARD16 }
+ num_touches: CARD8
+ pad: CARD8 }
¹ since XI 2.1
² since XI 2.2