diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-03-09 15:51:07 +1030 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-03-09 15:51:07 +1030 |
commit | 9dd8dcfa7e084d94cf3b7429eae65c93416159e3 (patch) | |
tree | e7868a7bce266e7a5b5b42e1501d886530cfafdd /XIproto.h | |
parent | de6f3fcaffe204e8f7c811f8a1599e9ed0999f9c (diff) |
add SetClientPointer request.
fix typos and wrong names for access function declarations.
Diffstat (limited to 'XIproto.h')
-rw-r--r-- | XIproto.h | 26 |
1 files changed, 23 insertions, 3 deletions
@@ -167,6 +167,7 @@ struct tmask #define X_GrabAccessControl 41 #define X_ChangeWindowAccess 42 #define X_QueryWindowAccess 43 +#define X_SetClientPointer 44 /********************************************************* * @@ -1596,20 +1597,20 @@ typedef struct { /********************************************************** * - * QueryAccessToWindow. + * QueryWindowAccess * */ typedef struct { CARD8 reqType; /* input extension major code */ - CARD8 ReqType; /* always X_RegisterAccessControl */ + CARD8 ReqType; /* always X_QueryWindowAccess */ CARD16 length B16; Window win B32; } xQueryWindowAccessReq; typedef struct { CARD8 repType; /* input extension major opcode */ - CARD8 RepType; /* Always X_ChangeAccessToWindow */ + CARD8 RepType; /* Always X_QueryWindowAccess */ CARD16 sequenceNumber B16; CARD32 length B32; CARD8 defaultRule; /* default rule setting */ @@ -1623,6 +1624,25 @@ typedef struct { CARD32 pad5 B32; } xQueryWindowAccessReply; + + +/********************************************************** + * + * SetClientPointer. + * + */ + +typedef struct { + CARD8 reqType; + CARD8 ReqType; /* Always X_SetClientPointer */ + CARD16 length B16; + Window win B32; + CARD8 deviceid; + CARD8 pad0; + CARD16 pad1 B16; +} xSetClientPointerReq; + + /********************************************************** * * Input extension events. |