summaryrefslogtreecommitdiff
path: root/XIproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'XIproto.h')
-rw-r--r--XIproto.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/XIproto.h b/XIproto.h
index 1e941c1..ad61c0e 100644
--- a/XIproto.h
+++ b/XIproto.h
@@ -1717,7 +1717,7 @@ typedef struct
typedef struct
{
BYTE type;
- BYTE pad00;
+ CARD8 deviceid;
CARD16 sequenceNumber B16;
Time time B32;
Window root B32;
@@ -1729,8 +1729,7 @@ typedef struct
INT16 eventY B16;
KeyButMask state B16;
BYTE mode;
- /* flags are missing */
- CARD8 deviceid;
+ BYTE flags;
} deviceEnterNotify;
typedef deviceEnterNotify deviceLeaveNotify;