diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-02-08 10:54:34 +1030 |
---|---|---|
committer | Peter Hutterer <whot@hyena.localdomain> | 2007-02-08 10:54:34 +1030 |
commit | 328cd827e89424292ca020d0b828154f8e4f2c17 (patch) | |
tree | fff2b0fc658f4c6e5cd1799217ebd1cb409d59b5 | |
parent | 4ab02ccbdad477a0d7a0bee79c947f50826f1a36 (diff) |
add flags field to deviceEnterNotify struct
add same_screen, focus to XDeviceCrossingEvent struct
-rw-r--r-- | XInput.h | 2 | ||||
-rw-r--r-- | XIproto.h | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -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; @@ -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; |