summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-02-25 16:45:16 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-02-25 16:45:16 +1030
commit66ba434bc5c5fd343e558b758a7e0d61dcebb1c4 (patch)
treea560cdde3e1aec7f75b93eb652e1cde9cf74744e
parent1f37b09c99df0890fbf347f3767934cdd4e586c2 (diff)
Remove GetPairedPointer, paired device can be found through ListInputDevices.
-rw-r--r--XI.h2
-rw-r--r--XInput.h6
-rw-r--r--XIproto.h31
3 files changed, 0 insertions, 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;
-
/**********************************************************
*