mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
randr: drop swapping request length fields
The request struct's length fields aren't used anymore - we have the client->req_len field instead, which also is bigreq-compatible. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
5c3790511c
commit
e1bbe46cbf
@@ -116,7 +116,6 @@ SProcRRGetScreenResourcesCurrent(ClientPtr client)
|
|||||||
REQUEST(xRRGetScreenResourcesCurrentReq);
|
REQUEST(xRRGetScreenResourcesCurrentReq);
|
||||||
|
|
||||||
REQUEST_SIZE_MATCH(xRRGetScreenResourcesCurrentReq);
|
REQUEST_SIZE_MATCH(xRRGetScreenResourcesCurrentReq);
|
||||||
swaps(&stuff->length);
|
|
||||||
swapl(&stuff->window);
|
swapl(&stuff->window);
|
||||||
return ProcRRGetScreenResourcesCurrent(client);
|
return ProcRRGetScreenResourcesCurrent(client);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user