add same_screen, focus to XDeviceCrossingEvent struct
* NotifyAncestor, NotifyVirtual, NotifyInferior,
* NotifyNonlinear,NotifyNonlinearVirtual
*/
+ Bool same_screen; /* same screen flag */
+ Bool focus; /* boolean focus */
unsigned int state; /* key or button mask */
} XDeviceCrossingEvent;
typedef struct
{
BYTE type;
- BYTE pad00;
+ CARD8 deviceid;
CARD16 sequenceNumber B16;
Time time B32;
Window root B32;
INT16 eventY B16;
KeyButMask state B16;
BYTE mode;
- /* flags are missing */
- CARD8 deviceid;
+ BYTE flags;
} deviceEnterNotify;
typedef deviceEnterNotify deviceLeaveNotify;