summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-05-17 20:19:29 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-05-17 20:19:29 +0930
commit5e4ff6bf4590d856966f151529d27be0eb070804 (patch)
tree0fc738fab164193366a102655010eee44782bb78
parent3d164140845c2ff65d84b56977b1722e95882f1c (diff)
Move deviceid around in deviceEnterNotify, make room for detail field.
-rw-r--r--XIproto.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/XIproto.h b/XIproto.h
index 182eca9..eb86def 100644
--- a/XIproto.h
+++ b/XIproto.h
@@ -1991,13 +1991,14 @@ typedef struct
/**********************************************************
*
* deviceEnterNotify.
- *
+ * This has a slightly different layout than the core event.
+ *
*/
typedef struct
{
BYTE type;
- CARD8 deviceid;
+ BYTE detail;
CARD16 sequenceNumber B16;
Time time B32;
Window root B32;
@@ -2009,7 +2010,7 @@ typedef struct
INT16 eventY B16;
KeyButMask state B16;
BYTE mode;
- BYTE flags;
+ CARD8 deviceid;
} deviceEnterNotify;
typedef deviceEnterNotify deviceLeaveNotify;