From 66ba434bc5c5fd343e558b758a7e0d61dcebb1c4 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 25 Feb 2008 16:45:16 +1030 Subject: Remove GetPairedPointer, paired device can be found through ListInputDevices. --- XI.h | 2 -- XInput.h | 6 ------ XIproto.h | 31 ------------------------------- 3 files changed, 39 deletions(-) diff --git a/XI.h b/XI.h index 3cf5180..acf8d6c 100644 --- a/XI.h +++ b/XI.h @@ -121,8 +121,6 @@ SOFTWARE. #define sz_xSetClientPointerReq 12 #define sz_xGetClientPointerReq 8 #define sz_xGetClientPointerReply 32 -#define sz_xGetPairedPointerReq 8 -#define sz_xGetPairedPointerReply 32 #define sz_xXiSelectEventReq 16 #define sz_xExtendedGrabDeviceReq 28 #define sz_xExtendedGrabDeviceReply 32 diff --git a/XInput.h b/XInput.h index d6b8ad0..72e729d 100644 --- a/XInput.h +++ b/XInput.h @@ -1372,12 +1372,6 @@ extern Status XChangeDeviceHierarchy( int /* num_changes */ ); -extern Bool XGetPairedPointer( - Display* /* display */, - XDevice* /* keyboard */, - XID* /* deviceid */ -); - extern Bool XWindowClearAccess( Display* /* display*/, Window /* win */, diff --git a/XIproto.h b/XIproto.h index 33566de..9607b8b 100644 --- a/XIproto.h +++ b/XIproto.h @@ -172,7 +172,6 @@ struct tmask #define X_QueryWindowAccess 43 #define X_SetClientPointer 44 #define X_GetClientPointer 45 -#define X_GetPairedPointer 46 #define X_XiSelectEvent 47 #define X_ExtendedGrabDevice 49 @@ -1658,36 +1657,6 @@ typedef struct { CARD32 pad5 B32; } xGetClientPointerReply; -/********************************************************** - * - * GetPairedPointer. - * - */ - -typedef struct { - CARD8 reqType; - CARD8 ReqType; /* Always X_GetPairedPointer */ - CARD16 length B16; - CARD8 deviceid; - CARD8 pad0; - CARD16 pad1 B16; -} xGetPairedPointerReq; - -typedef struct { - CARD8 repType; /* input extension major opcode */ - CARD8 RepType; /* Always X_GetClientPointer */ - CARD16 sequenceNumber B16; - CARD32 length B32; - BOOL paired; /* keyboard is paired */ - CARD8 deviceid; - CARD16 pad0 B16; - CARD32 pad1 B32; - CARD32 pad2 B32; - CARD32 pad3 B32; - CARD32 pad4 B32; - CARD32 pad5 B32; -} xGetPairedPointerReply; - /********************************************************** * -- cgit v1.2.3