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:
Enrico Weigelt, metux IT consult
2025-07-18 12:38:53 +02:00
committed by Enrico Weigelt
parent 5c3790511c
commit e1bbe46cbf

View File

@@ -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);
} }