From 5e4ff6bf4590d856966f151529d27be0eb070804 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 17 May 2007 20:19:29 +0930 Subject: Move deviceid around in deviceEnterNotify, make room for detail field. --- XIproto.h | 7 ++++--- 1 file 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; -- cgit v1.2.3