aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-12-23 14:04:34 +0100
committermarha <marha@users.sourceforge.net>2011-12-23 14:04:34 +0100
commit0b3f475361d87764004432f541e34bb86af1b9f3 (patch)
tree19de2a430b5d1a8d62e0affd6bd2422021873a23
parente22891346b85a7db40dec7260a100f90b451cbc8 (diff)
downloadvcxsrv-0b3f475361d87764004432f541e34bb86af1b9f3.tar.gz
vcxsrv-0b3f475361d87764004432f541e34bb86af1b9f3.tar.bz2
vcxsrv-0b3f475361d87764004432f541e34bb86af1b9f3.zip
Updated to inputproto-2.1.99.4
-rw-r--r--X11/extensions/XI.h11
-rw-r--r--X11/extensions/XI2.h24
-rw-r--r--X11/extensions/XI2proto.h5
-rw-r--r--packages.txt2
4 files changed, 21 insertions, 21 deletions
diff --git a/X11/extensions/XI.h b/X11/extensions/XI.h
index 378b34a16..7b443997c 100644
--- a/X11/extensions/XI.h
+++ b/X11/extensions/XI.h
@@ -135,6 +135,17 @@ SOFTWARE.
#define XI_FOOTMOUSE "FOOTMOUSE"
#define XI_JOYSTICK "JOYSTICK"
+/* Indices into the versions[] array (XExtInt.c). Used as a index to
+ * retrieve the minimum version of XI from _XiCheckExtInit */
+#define Dont_Check 0
+#define XInput_Initial_Release 1
+#define XInput_Add_XDeviceBell 2
+#define XInput_Add_XSetDeviceValuators 3
+#define XInput_Add_XChangeDeviceControl 4
+#define XInput_Add_DevicePresenceNotify 5
+#define XInput_Add_DeviceProperties 6
+/* DO NOT ADD TO HERE -> XI2 */
+
#define XI_Absent 0
#define XI_Present 1
diff --git a/X11/extensions/XI2.h b/X11/extensions/XI2.h
index 2514d5529..436800623 100644
--- a/X11/extensions/XI2.h
+++ b/X11/extensions/XI2.h
@@ -25,16 +25,6 @@
#ifndef _XI2_H_
#define _XI2_H_
-#warning "XI 2.1 is not stable yet."
-#warning "Applications relying on this header will break as the protocol sees updates."
-#ifndef XINPUT2_1_USE_UNSTABLE_PROTOCOL
-#error "Define XINPUT2_1_USE_UNSTABLE_PROTOCOL to disable this error"
-#endif
-#warning "XI 2.2 is not stable yet."
-#warning "Applications relying on this header will break as the protocol sees updates."
-#ifndef XINPUT2_2_USE_UNSTABLE_PROTOCOL
-#error "Define XINPUT2_2_USE_UNSTABLE_PROTOCOL to disable this error"
-#endif
#define XInput_2_0 7
/* DO NOT ADD TO THIS LIST. These are libXi-specific defines.
See commit libXi-1.4.2-21-ge8531dd */
@@ -201,14 +191,14 @@
#define XI_RawButtonPress 15
#define XI_RawButtonRelease 16
#define XI_RawMotion 17
-#define XI_TouchBegin 18 /* XI 2.1 */
-#define XI_TouchEnd 19
-#define XI_TouchOwnership 20
-#define XI_TouchUpdate 21
+#define XI_TouchBegin 18 /* XI 2.2 */
+#define XI_TouchUpdate 19
+#define XI_TouchEnd 20
+#define XI_TouchOwnership 21
#define XI_RawTouchBegin 22
-#define XI_RawTouchEnd 23
-#define XI_RawTouchUpdate 24
-#define XI_LASTEVENT XI_RawTouchUpdate
+#define XI_RawTouchUpdate 23
+#define XI_RawTouchEnd 24
+#define XI_LASTEVENT XI_RawTouchEnd
/* NOTE: XI2LASTEVENT in xserver/include/inputstr.h must be the same value
* as XI_LASTEVENT if the server is supposed to handle masks etc. for this
* type of event. */
diff --git a/X11/extensions/XI2proto.h b/X11/extensions/XI2proto.h
index 9e2c63c85..93d7e3242 100644
--- a/X11/extensions/XI2proto.h
+++ b/X11/extensions/XI2proto.h
@@ -647,7 +647,7 @@ typedef struct {
uint16_t deviceid;
uint8_t mode;
uint8_t pad;
- uint32_t touch_id; /**< Since XI 2.2 */
+ uint32_t touchid; /**< Since XI 2.2 */
Window grab_window; /**< Since XI 2.2 */
} xXIAllowEventsReq;
#define sz_xXIAllowEventsReq 20 /**< Was 12 before XI 2.2 */
@@ -901,7 +901,7 @@ typedef struct
Window event;
Window child;
/* └──────── 32 byte boundary ────────┘ */
- uint16_t sourceid; /**< Source of the new classes */
+ uint16_t sourceid;
uint16_t pad0;
uint32_t flags;
uint32_t pad1;
@@ -936,7 +936,6 @@ typedef struct
uint32_t flags; /**< ::XIKeyRepeat */
xXIModifierInfo mods;
xXIGroupInfo group;
- uint32_t active_touches; /**< Number of touches on source device (XI 2.1 only) */
} xXIDeviceEvent;
diff --git a/packages.txt b/packages.txt
index 4539fdaed..40851e1d5 100644
--- a/packages.txt
+++ b/packages.txt
@@ -46,7 +46,7 @@ fontconfig git version
fontsproto-2.1.1
freetype-2.4.8
glproto git version
-inputproto-2.1.99.1
+inputproto-2.1.99.4
kbproto-1.0.5
libX11 git version
libXau git version