From 59b8d29b3a91c65787dfadb5610342a62e85c48c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 12 May 2008 21:22:54 +0930 Subject: [PATCH] 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. --- Xi/extinit.c | 20 ++++++++++---------- 1 file 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 */ };