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.
This commit is contained in:
Peter Hutterer 2008-05-12 21:22:54 +09:30
parent 1fc1a2897e
commit 59b8d29b3a

View File

@ -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 */
};