mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-04 12:10:12 +01:00
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.
This commit is contained in:
parent
78179ae827
commit
42c2e14b25
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue