summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-02-08 10:54:34 +1030
committerPeter Hutterer <whot@hyena.localdomain>2007-02-08 10:54:34 +1030
commit328cd827e89424292ca020d0b828154f8e4f2c17 (patch)
treefff2b0fc658f4c6e5cd1799217ebd1cb409d59b5
parent4ab02ccbdad477a0d7a0bee79c947f50826f1a36 (diff)
add flags field to deviceEnterNotify struct
add same_screen, focus to XDeviceCrossingEvent struct
-rw-r--r--XInput.h2
-rw-r--r--XIproto.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/XInput.h b/XInput.h
index 90a3ca3..13d1dff 100644
--- a/XInput.h
+++ b/XInput.h
@@ -483,6 +483,8 @@ typedef struct {
* NotifyAncestor, NotifyVirtual, NotifyInferior,
* NotifyNonlinear,NotifyNonlinearVirtual
*/
+ Bool same_screen; /* same screen flag */
+ Bool focus; /* boolean focus */
unsigned int state; /* key or button mask */
} XDeviceCrossingEvent;
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;