diff --git a/Xext/shape.c b/Xext/shape.c index e89dd9ffd..464170fc0 100644 --- a/Xext/shape.c +++ b/Xext/shape.c @@ -1064,9 +1064,6 @@ SShapeNotifyEvent(xShapeNotifyEvent * from, xShapeNotifyEvent * to) static int _X_COLD SProcShapeQueryVersion(ClientPtr client) { - REQUEST(xShapeQueryVersionReq); - - swaps(&stuff->length); return ProcShapeQueryVersion(client); } @@ -1074,8 +1071,6 @@ static int _X_COLD SProcShapeRectangles(ClientPtr client) { REQUEST(xShapeRectanglesReq); - - swaps(&stuff->length); REQUEST_AT_LEAST_SIZE(xShapeRectanglesReq); swapl(&stuff->dest); swaps(&stuff->xOff); @@ -1088,8 +1083,6 @@ static int _X_COLD SProcShapeMask(ClientPtr client) { REQUEST(xShapeMaskReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeMaskReq); swapl(&stuff->dest); swaps(&stuff->xOff); @@ -1102,8 +1095,6 @@ static int _X_COLD SProcShapeCombine(ClientPtr client) { REQUEST(xShapeCombineReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeCombineReq); swapl(&stuff->dest); swaps(&stuff->xOff); @@ -1116,8 +1107,6 @@ static int _X_COLD SProcShapeOffset(ClientPtr client) { REQUEST(xShapeOffsetReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeOffsetReq); swapl(&stuff->dest); swaps(&stuff->xOff); @@ -1129,8 +1118,6 @@ static int _X_COLD SProcShapeQueryExtents(ClientPtr client) { REQUEST(xShapeQueryExtentsReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeQueryExtentsReq); swapl(&stuff->window); return ProcShapeQueryExtents(client); @@ -1140,8 +1127,6 @@ static int _X_COLD SProcShapeSelectInput(ClientPtr client) { REQUEST(xShapeSelectInputReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeSelectInputReq); swapl(&stuff->window); return ProcShapeSelectInput(client); @@ -1151,8 +1136,6 @@ static int _X_COLD SProcShapeInputSelected(ClientPtr client) { REQUEST(xShapeInputSelectedReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeInputSelectedReq); swapl(&stuff->window); return ProcShapeInputSelected(client); @@ -1162,7 +1145,6 @@ static int _X_COLD SProcShapeGetRectangles(ClientPtr client) { REQUEST(xShapeGetRectanglesReq); - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeGetRectanglesReq); swapl(&stuff->window); return ProcShapeGetRectangles(client);