diff options
author | Matthieu Herrb <matthieu@deville.herrb.com> | 2007-06-15 00:14:02 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@deville.herrb.com> | 2007-06-15 00:14:02 +0200 |
commit | 42c2e14b254f6f882b3e79444360ab855db43e27 (patch) | |
tree | 666f9dc9198b4cb35275492489b508c931612cf9 /render/render.c | |
parent | 78179ae827bb5d19abb1340084362bc51ad5c1e5 (diff) |
swap xOrigin and yOrigin in SProcRenderSetPictureClipRectangles.
Fixes Xrender clipping rectangles when X server and client are of
different endianness, shown by xterm 225 among others.
Diffstat (limited to 'render/render.c')
-rw-r--r-- | render/render.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/render/render.c b/render/render.c index 348d4c611..caaa2781c 100644 --- a/render/render.c +++ b/render/render.c @@ -2074,6 +2074,8 @@ SProcRenderSetPictureClipRectangles (ClientPtr client) REQUEST(xRenderSetPictureClipRectanglesReq); swaps(&stuff->length, n); swapl(&stuff->picture, n); + swaps(&stuff->xOrigin, n); + swaps(&stuff->yOrigin, n); SwapRestS(stuff); return (*ProcRenderVector[stuff->renderReqType]) (client); } |