mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
pseudoramiX: 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.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639>
(cherry picked from commit 4454b71f4b)
This commit is contained in:
committed by
Alan Coopersmith
parent
cbc88c8ca2
commit
ec15e57291
@@ -408,7 +408,6 @@ SProcPseudoramiXQueryVersion(ClientPtr client)
|
||||
|
||||
TRACE;
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xPanoramiXQueryVersionReq);
|
||||
return ProcPseudoramiXQueryVersion(client);
|
||||
}
|
||||
@@ -420,7 +419,6 @@ SProcPseudoramiXGetState(ClientPtr client)
|
||||
|
||||
TRACE;
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xPanoramiXGetStateReq);
|
||||
return ProcPseudoramiXGetState(client);
|
||||
}
|
||||
@@ -432,7 +430,6 @@ SProcPseudoramiXGetScreenCount(ClientPtr client)
|
||||
|
||||
TRACE;
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xPanoramiXGetScreenCountReq);
|
||||
return ProcPseudoramiXGetScreenCount(client);
|
||||
}
|
||||
@@ -444,7 +441,6 @@ SProcPseudoramiXGetScreenSize(ClientPtr client)
|
||||
|
||||
TRACE;
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xPanoramiXGetScreenSizeReq);
|
||||
return ProcPseudoramiXGetScreenSize(client);
|
||||
}
|
||||
@@ -456,7 +452,6 @@ SProcPseudoramiXIsActive(ClientPtr client)
|
||||
|
||||
TRACE;
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xXineramaIsActiveReq);
|
||||
return ProcPseudoramiXIsActive(client);
|
||||
}
|
||||
@@ -468,7 +463,6 @@ SProcPseudoramiXQueryScreens(ClientPtr client)
|
||||
|
||||
TRACE;
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xXineramaQueryScreensReq);
|
||||
return ProcPseudoramiXQueryScreens(client);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user