From e060305502bbd2c97a302e73be4f84cef5c56993 Mon Sep 17 00:00:00 2001 From: Herman Semenov Date: Mon, 23 Jun 2025 01:05:03 +0300 Subject: [PATCH] inputstr: _GestureInfo 344 -> 336 (num_touches set max 255) --- include/inputstr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/inputstr.h b/include/inputstr.h index f6e0c9eae..bc9f67b93 100644 --- a/include/inputstr.h +++ b/include/inputstr.h @@ -342,12 +342,12 @@ typedef struct _GestureListener { typedef struct _GestureInfo { int sourceid; /* Source device's ID for this gesture */ Bool active; /* whether or not the gesture is active */ + uint8_t num_touches; /* The number of touches in the gesture */ uint8_t type; /* Gesture type: either ET_GesturePinchBegin or - ET_GestureSwipeBegin. Valid if active == TRUE */ - int num_touches; /* The number of touches in the gesture */ + ET_GestureSwipeBegin. Valid if active == TRUE */ + Bool has_listener; /* true if listener has been setup already */ SpriteRec sprite; /* window trace for delivery */ GestureListener listener; /* the listener that will receive events */ - Bool has_listener; /* true if listener has been setup already */ } GestureInfoRec; typedef struct _GestureClassRec {