From fc3b338a3a143b7da9aec7a140cbee1b230fb0fa Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Mon, 29 Oct 2007 18:05:19 -0400 Subject: [PATCH] Add missing swaps in panoramiXSwap.c (cherry picked from commit cb67a10b7f6f564e0345de19316934361ea28720) (cherry picked from commit b037e4a5abb878ad89e7f27c2b6c23004625f6c3) --- Xext/panoramiXSwap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Xext/panoramiXSwap.c b/Xext/panoramiXSwap.c index da445ffe1..0487471aa 100644 --- a/Xext/panoramiXSwap.c +++ b/Xext/panoramiXSwap.c @@ -70,6 +70,7 @@ SProcPanoramiXGetState(ClientPtr client) swaps (&stuff->length, n); REQUEST_SIZE_MATCH(xPanoramiXGetStateReq); + swapl (&stuff->window, n); return ProcPanoramiXGetState(client); } @@ -81,6 +82,7 @@ SProcPanoramiXGetScreenCount(ClientPtr client) swaps (&stuff->length, n); REQUEST_SIZE_MATCH(xPanoramiXGetScreenCountReq); + swapl (&stuff->window, n); return ProcPanoramiXGetScreenCount(client); } @@ -92,6 +94,8 @@ SProcPanoramiXGetScreenSize(ClientPtr client) swaps (&stuff->length, n); REQUEST_SIZE_MATCH(xPanoramiXGetScreenSizeReq); + swapl (&stuff->window, n); + swapl (&stuff->screen, n); return ProcPanoramiXGetScreenSize(client); }