summaryrefslogtreecommitdiff
path: root/XI2proto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-16 11:46:44 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-16 11:49:34 +1000
commitb32e5830c0acbdba4798fad107bf8404c978753c (patch)
treee0b69fdf1bdc0c1cb531a7bc9d46a56cfdf3a065 /XI2proto.h
parentf4f09d40e0fd94d267b280f2a82385dca1141347 (diff)
downloadxorg-proto-inputproto-b32e5830c0acbdba4798fad107bf8404c978753c.tar.gz
XI2proto: define Window, Cursor, Atom and Time as uint32_t.
Since we're using stdint in the rest of the file, might as well ignore CARD32 here.
Diffstat (limited to 'XI2proto.h')
-rw-r--r--XI2proto.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/XI2proto.h b/XI2proto.h
index 0ef0ece..4899c97 100644
--- a/XI2proto.h
+++ b/XI2proto.h
@@ -42,10 +42,10 @@
#include <X11/extensions/XI2.h>
/* make sure types have right sizes for protocol structures. */
-#define Window CARD32
-#define Time CARD32
-#define Atom CARD32
-#define Cursor CARD32
+#define Window uint32_t
+#define Time uint32_t
+#define Atom uint32_t
+#define Cursor uint32_t
/**
* XI2 Request opcodes