summaryrefslogtreecommitdiff
path: root/Xext/panoramiXSwap.c
diff options
context:
space:
mode:
authorPeter Harris <peter.harris@hummingbird.com>2007-10-29 18:05:19 -0400
committerDaniel Stone <daniel@fooishbar.org>2007-12-05 18:29:54 +0000
commit2d723bbd0d36f6d7763b4df3298d40720f97fdd0 (patch)
tree3a4bf8906126a5750bd84867c572bdd637e0b538 /Xext/panoramiXSwap.c
parent0fccb24aa978b838cf0fb008e9695837e612c529 (diff)
Add missing swaps in panoramiXSwap.c
Diffstat (limited to 'Xext/panoramiXSwap.c')
-rw-r--r--Xext/panoramiXSwap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Xext/panoramiXSwap.c b/Xext/panoramiXSwap.c
index cc9f61442..b13c286dd 100644
--- a/Xext/panoramiXSwap.c
+++ b/Xext/panoramiXSwap.c
@@ -66,6 +66,7 @@ SProcPanoramiXGetState(ClientPtr client)
swaps (&stuff->length, n);
REQUEST_SIZE_MATCH(xPanoramiXGetStateReq);
+ swapl (&stuff->window, n);
return ProcPanoramiXGetState(client);
}
@@ -77,6 +78,7 @@ SProcPanoramiXGetScreenCount(ClientPtr client)
swaps (&stuff->length, n);
REQUEST_SIZE_MATCH(xPanoramiXGetScreenCountReq);
+ swapl (&stuff->window, n);
return ProcPanoramiXGetScreenCount(client);
}
@@ -88,6 +90,8 @@ SProcPanoramiXGetScreenSize(ClientPtr client)
swaps (&stuff->length, n);
REQUEST_SIZE_MATCH(xPanoramiXGetScreenSizeReq);
+ swapl (&stuff->window, n);
+ swapl (&stuff->screen, n);
return ProcPanoramiXGetScreenSize(client);
}