diff --git a/Xext/shape.c b/Xext/shape.c index b7631eb43..9e8ad41e4 100644 --- a/Xext/shape.c +++ b/Xext/shape.c @@ -1066,9 +1066,6 @@ SShapeNotifyEvent(xShapeNotifyEvent * from, xShapeNotifyEvent * to) static int _X_COLD SProcShapeQueryVersion(ClientPtr client) { - REQUEST(xShapeQueryVersionReq); - - swaps(&stuff->length); return ProcShapeQueryVersion(client); } @@ -1076,8 +1073,6 @@ static int _X_COLD SProcShapeRectangles(ClientPtr client) { REQUEST(xShapeRectanglesReq); - - swaps(&stuff->length); REQUEST_AT_LEAST_SIZE(xShapeRectanglesReq); swapl(&stuff->dest); swaps(&stuff->xOff); @@ -1090,8 +1085,6 @@ static int _X_COLD SProcShapeMask(ClientPtr client) { REQUEST(xShapeMaskReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeMaskReq); swapl(&stuff->dest); swaps(&stuff->xOff); @@ -1104,8 +1097,6 @@ static int _X_COLD SProcShapeCombine(ClientPtr client) { REQUEST(xShapeCombineReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeCombineReq); swapl(&stuff->dest); swaps(&stuff->xOff); @@ -1118,8 +1109,6 @@ static int _X_COLD SProcShapeOffset(ClientPtr client) { REQUEST(xShapeOffsetReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeOffsetReq); swapl(&stuff->dest); swaps(&stuff->xOff); @@ -1131,8 +1120,6 @@ static int _X_COLD SProcShapeQueryExtents(ClientPtr client) { REQUEST(xShapeQueryExtentsReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeQueryExtentsReq); swapl(&stuff->window); return ProcShapeQueryExtents(client); @@ -1142,8 +1129,6 @@ static int _X_COLD SProcShapeSelectInput(ClientPtr client) { REQUEST(xShapeSelectInputReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeSelectInputReq); swapl(&stuff->window); return ProcShapeSelectInput(client); @@ -1153,8 +1138,6 @@ static int _X_COLD SProcShapeInputSelected(ClientPtr client) { REQUEST(xShapeInputSelectedReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeInputSelectedReq); swapl(&stuff->window); return ProcShapeInputSelected(client); @@ -1164,7 +1147,6 @@ static int _X_COLD SProcShapeGetRectangles(ClientPtr client) { REQUEST(xShapeGetRectanglesReq); - swaps(&stuff->length); REQUEST_SIZE_MATCH(xShapeGetRectanglesReq); swapl(&stuff->window); return ProcShapeGetRectangles(client);