mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-02 22:16:10 +00:00
dix: switch to byte-counting functions.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
7dd415aa6a
commit
2d35ea8d95
9 changed files with 54 additions and 53 deletions
|
|
@ -1457,8 +1457,8 @@ GetWindowAttributes(WindowPtr pWin, ClientPtr client, xGetWindowAttributesReply
|
|||
wa->backingStore = NotUseful;
|
||||
else
|
||||
wa->backingStore = pWin->backingStore;
|
||||
wa->length = (sizeof(xGetWindowAttributesReply) -
|
||||
sizeof(xGenericReply)) >> 2;
|
||||
wa->length = bytes_to_int32(sizeof(xGetWindowAttributesReply) -
|
||||
sizeof(xGenericReply));
|
||||
wa->sequenceNumber = client->sequence;
|
||||
wa->backingBitPlanes = wBackingBitPlanes (pWin);
|
||||
wa->backingPixel = wBackingPixel (pWin);
|
||||
|
|
|
|||
Loading…
Reference in a new issue