mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639>
(cherry picked from commit 4cb141307c)
This commit is contained in:
committed by
Alan Coopersmith
parent
126c901200
commit
d122c3f7a0
@@ -373,8 +373,6 @@ static int _X_COLD
|
||||
SProcXwlQueryVersion(ClientPtr client)
|
||||
{
|
||||
REQUEST(xXwlQueryVersionReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_AT_LEAST_SIZE(xXwlQueryVersionReq);
|
||||
swaps(&stuff->majorVersion);
|
||||
swaps(&stuff->minorVersion);
|
||||
|
||||
Reference in New Issue
Block a user