mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-14 13:18:09 +02:00
randr, Xext: remove stale length swaps
The dispatch infrastructure already handles request length byte-swapping via get_req_len() / client->req_len, so let's not double-swap the length field back to the wrong byte order. Co-Authored-by: Claude Code <noreply@anthropic.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2181>
This commit is contained in:
parent
bf6bb8e28f
commit
0824e63e77
2 changed files with 0 additions and 2 deletions
|
|
@ -108,7 +108,6 @@ SProcGEQueryVersion(ClientPtr client)
|
|||
{
|
||||
REQUEST(xGEQueryVersionReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xGEQueryVersionReq);
|
||||
swaps(&stuff->majorVersion);
|
||||
swaps(&stuff->minorVersion);
|
||||
|
|
|
|||
|
|
@ -114,7 +114,6 @@ SProcRRGetScreenResourcesCurrent(ClientPtr client)
|
|||
REQUEST(xRRGetScreenResourcesCurrentReq);
|
||||
|
||||
REQUEST_SIZE_MATCH(xRRGetScreenResourcesCurrentReq);
|
||||
swaps(&stuff->length);
|
||||
swapl(&stuff->window);
|
||||
return (*ProcRandrVector[stuff->randrReqType]) (client);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue