xorgproto: Branch 'master' - 2 commits

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue May 18 00:08:39 UTC 2021


 specs/XI2proto.txt |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit b492f7c9329dede53aa8ba882342255445add93e
Author: Povilas Kanapickas <povilas at radix.lt>
Date:   Mon May 17 14:53:26 2021 +0300

    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 at radix.lt>

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
commit b67e10871eefa67c86c0c8c6b880ab5921b5be88
Author: Povilas Kanapickas <povilas at radix.lt>
Date:   Mon May 17 14:53:25 2021 +0300

    specs: Fix type of TOUCHCLASS num_touches member
    
    The actual protocol structs use uint8_t.
    
    Signed-off-by: Povilas Kanapickas <povilas at radix.lt>

diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt
index 070f523..88e6292 100644
--- a/specs/XI2proto.txt
+++ b/specs/XI2proto.txt
@@ -933,7 +933,7 @@ XIQueryDevice
                   length:               CARD16
                   sourceid:             CARD16
                   mode:                 TOUCHMODE
-                  num_touches:          CARD16 }
+                  num_touches:          CARD8 }
 
     TOUCHMODE { DirectTouch, DependentTouch }
 


More information about the xorg-commit mailing list