summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-02-12 15:04:24 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-02-12 15:04:24 +1030
commitbe9e285258b8ea90628bbb5ae65bf74bdc59338b (patch)
tree097f5230e2b051188e4b3b1a14a1cc2611215f08
parentbd20f0ebd5e71fd03b3140960c3960bc50bd4273 (diff)
Remove "shared" field from QueryDevicePointer.
If it's a slave device, it's shared, if it's a master device it has its own cursor. No need for this field.
-rw-r--r--XInput.h3
-rw-r--r--XIproto.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/XInput.h b/XInput.h
index c995f35..1579a00 100644
--- a/XInput.h
+++ b/XInput.h
@@ -1354,8 +1354,7 @@ extern Bool XQueryDevicePointer(
int* /* root_y */,
int* /* win_x */,
int* /* win_y */,
- unsigned int* /* mask */,
- Bool* /* shared */
+ unsigned int* /* mask */
);
extern Bool XWarpDevicePointer(
diff --git a/XIproto.h b/XIproto.h
index 45d73eb..bb6205a 100644
--- a/XIproto.h
+++ b/XIproto.h
@@ -1465,7 +1465,7 @@ typedef struct {
INT16 winY B16;
CARD16 mask B16;
BYTE sameScreen;
- BYTE shared; /* sharing the core cursor? */
+ BYTE pad;
CARD32 pad0 B32;
} xQueryDevicePointerReply;