aboutsummaryrefslogtreecommitdiff
path: root/X11/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'X11/extensions')
-rw-r--r--X11/extensions/XI2.h2
-rw-r--r--X11/extensions/XIproto.h6
2 files changed, 5 insertions, 3 deletions
diff --git a/X11/extensions/XI2.h b/X11/extensions/XI2.h
index b1498a755..5a1c66a94 100644
--- a/X11/extensions/XI2.h
+++ b/X11/extensions/XI2.h
@@ -234,7 +234,7 @@
#define XI_RawMotionMask (1 << XI_RawMotion)
#define XI_TouchBeginMask (1 << XI_TouchBegin)
#define XI_TouchEndMask (1 << XI_TouchEnd)
-#define XI_TouchOwnershipChangedMask (1 << XI_TouchOwnershipChanged)
+#define XI_TouchOwnershipChangedMask (1 << XI_TouchOwnership)
#define XI_TouchUpdateMask (1 << XI_TouchUpdate)
#define XI_RawTouchBeginMask (1 << XI_RawTouchBegin)
#define XI_RawTouchEndMask (1 << XI_RawTouchEnd)
diff --git a/X11/extensions/XIproto.h b/X11/extensions/XIproto.h
index e00ab61dc..82323d899 100644
--- a/X11/extensions/XIproto.h
+++ b/X11/extensions/XIproto.h
@@ -85,12 +85,14 @@ typedef struct _XExtEventInfo
BYTE word;
} XExtEventInfo;
-typedef unsigned char *Pointer;
+#ifndef _XITYPEDEF_POINTER
+typedef void *Pointer;
+#endif
struct tmask
{
Mask mask;
- Pointer dev;
+ void *dev;
};
/*********************************************************