From 23a8d9be715ce3c79ac3df59b0e352288b5e8f02 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 7 Aug 2024 13:44:14 +0200 Subject: [PATCH] Xext: panoramiX: drop swapping request length fields The request struct's length fields aren't used anymore - we have the client->req_len field instead, which also is bigreq-compatible. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- Xext/panoramiXSwap.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/Xext/panoramiXSwap.c b/Xext/panoramiXSwap.c index 4257696a1..2856a8441 100644 --- a/Xext/panoramiXSwap.c +++ b/Xext/panoramiXSwap.c @@ -48,10 +48,6 @@ Equipment Corporation. static int _X_COLD SProcPanoramiXQueryVersion(ClientPtr client) { - REQUEST(xPanoramiXQueryVersionReq); - - swaps(&stuff->length); - REQUEST_SIZE_MATCH(xPanoramiXQueryVersionReq); return ProcPanoramiXQueryVersion(client); } @@ -59,8 +55,6 @@ static int _X_COLD SProcPanoramiXGetState(ClientPtr client) { REQUEST(xPanoramiXGetStateReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xPanoramiXGetStateReq); swapl(&stuff->window); return ProcPanoramiXGetState(client); @@ -70,8 +64,6 @@ static int _X_COLD SProcPanoramiXGetScreenCount(ClientPtr client) { REQUEST(xPanoramiXGetScreenCountReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xPanoramiXGetScreenCountReq); swapl(&stuff->window); return ProcPanoramiXGetScreenCount(client); @@ -81,8 +73,6 @@ static int _X_COLD SProcPanoramiXGetScreenSize(ClientPtr client) { REQUEST(xPanoramiXGetScreenSizeReq); - - swaps(&stuff->length); REQUEST_SIZE_MATCH(xPanoramiXGetScreenSizeReq); swapl(&stuff->window); swapl(&stuff->screen); @@ -92,20 +82,12 @@ SProcPanoramiXGetScreenSize(ClientPtr client) static int _X_COLD SProcXineramaIsActive(ClientPtr client) { - REQUEST(xXineramaIsActiveReq); - - swaps(&stuff->length); - REQUEST_SIZE_MATCH(xXineramaIsActiveReq); return ProcXineramaIsActive(client); } static int _X_COLD SProcXineramaQueryScreens(ClientPtr client) { - REQUEST(xXineramaQueryScreensReq); - - swaps(&stuff->length); - REQUEST_SIZE_MATCH(xXineramaQueryScreensReq); return ProcXineramaQueryScreens(client); }