(submit/fixup-req-len) xwayland: 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 2024-08-06 15:25:14 +02:00
parent d5dddfd48c
commit 5aa6dce415

View File

@ -378,8 +378,6 @@ static int _X_COLD
SProcXwlQueryVersion(ClientPtr client) SProcXwlQueryVersion(ClientPtr client)
{ {
REQUEST(xXwlQueryVersionReq); REQUEST(xXwlQueryVersionReq);
swaps(&stuff->length);
REQUEST_AT_LEAST_SIZE(xXwlQueryVersionReq); REQUEST_AT_LEAST_SIZE(xXwlQueryVersionReq);
swaps(&stuff->majorVersion); swaps(&stuff->majorVersion);
swaps(&stuff->minorVersion); swaps(&stuff->minorVersion);