summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-12 21:22:54 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-13 11:17:02 +0930
commit59b8d29b3a91c65787dfadb5610342a62e85c48c (patch)
tree54b2c3af1443de70543269803626bdf1c0836041 /Xi
parent1fc1a2897e9185838c29d9ffff07c39d2fdf174f (diff)
Xi: Fix up ProcIVector, got out of sync with the protocol.
When the opcode squash happened in the protocol, the processing vector got out of sync for a few requests. As a result, client and server would interpret requests differently, leading to a couple of BadLength problems.
Diffstat (limited to 'Xi')
-rw-r--r--Xi/extinit.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/Xi/extinit.c b/Xi/extinit.c
index 1d68d1e27..613472ab6 100644
--- a/Xi/extinit.c
+++ b/Xi/extinit.c
@@ -212,11 +212,11 @@ static int (*ProcIVector[])(ClientPtr) = {
ProcXWarpDevicePointer, /* 37 */
ProcXChangeDeviceCursor, /* 38 */
ProcXChangeDeviceHierarchy, /* 39 */
- ProcXiSelectEvent, /* 40 */
- ProcXChangeWindowAccess, /* 41 */
- ProcXQueryWindowAccess, /* 42 */
- ProcXSetClientPointer, /* 43 */
- ProcXGetClientPointer, /* 44 */
+ ProcXChangeWindowAccess, /* 40 */
+ ProcXQueryWindowAccess, /* 41 */
+ ProcXSetClientPointer, /* 42 */
+ ProcXGetClientPointer, /* 43 */
+ ProcXiSelectEvent, /* 44 */
ProcXExtendedGrabDevice /* 45 */
};
@@ -262,11 +262,11 @@ static int (*SProcIVector[])(ClientPtr) = {
SProcXWarpDevicePointer, /* 37 */
SProcXChangeDeviceCursor, /* 38 */
SProcXChangeDeviceHierarchy, /* 39 */
- SProcXiSelectEvent, /* 40 */
- SProcXChangeWindowAccess, /* 41 */
- SProcXQueryWindowAccess, /* 42 */
- SProcXSetClientPointer, /* 43 */
- SProcXGetClientPointer, /* 44 */
+ SProcXChangeWindowAccess, /* 40 */
+ SProcXQueryWindowAccess, /* 41 */
+ SProcXSetClientPointer, /* 42 */
+ SProcXGetClientPointer, /* 43 */
+ SProcXiSelectEvent, /* 44 */
SProcXExtendedGrabDevice /* 45 */
};