diff options
-rw-r--r-- | XI.h | 1 | ||||
-rw-r--r-- | XInput.h | 12 | ||||
-rw-r--r-- | XIproto.h | 26 |
3 files changed, 34 insertions, 5 deletions
@@ -122,6 +122,7 @@ SOFTWARE. #define sz_xChangeWindowAccessReq 12 #define sz_xQueryWindowAccessReq 8 #define sz_xQueryWindowAccessReply 32 +#define sz_xSetClientPointerReq 12 #define INAME "XInputExtension" @@ -1317,13 +1317,15 @@ extern Bool XUngrabAccessControl( Display* /* display */ ); -extern Bool XClearAccessControl( +extern Bool XWindowClearAccess( Display* /* display*/, + Window /* win */, int /* what */ ); -extern Bool XChangeAcccessRule( +extern Bool XChangeAccessRule( Display* /* display */, + Window /* win */, int /* rule */ ); @@ -1351,6 +1353,12 @@ extern Status XQueryWindowAccess( int* /* ndeny */ ); +extern Status XSetClientPointer( + Display* /* dpy */, + Window /* win */, + char /* deviceid */ +); + _XFUNCPROTOEND @@ -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. |