(submit/fixup-req-len) Xext: saver: 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:
parent
baf7af0e2d
commit
c6c6a449fb
|
@ -1269,9 +1269,6 @@ ProcScreenSaverDispatch(ClientPtr client)
|
||||||
static int _X_COLD
|
static int _X_COLD
|
||||||
SProcScreenSaverQueryVersion(ClientPtr client)
|
SProcScreenSaverQueryVersion(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xScreenSaverQueryVersionReq);
|
|
||||||
swaps(&stuff->length);
|
|
||||||
REQUEST_SIZE_MATCH(xScreenSaverQueryVersionReq);
|
|
||||||
return ProcScreenSaverQueryVersion(client);
|
return ProcScreenSaverQueryVersion(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1279,7 +1276,6 @@ static int _X_COLD
|
||||||
SProcScreenSaverQueryInfo(ClientPtr client)
|
SProcScreenSaverQueryInfo(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xScreenSaverQueryInfoReq);
|
REQUEST(xScreenSaverQueryInfoReq);
|
||||||
swaps(&stuff->length);
|
|
||||||
REQUEST_SIZE_MATCH(xScreenSaverQueryInfoReq);
|
REQUEST_SIZE_MATCH(xScreenSaverQueryInfoReq);
|
||||||
swapl(&stuff->drawable);
|
swapl(&stuff->drawable);
|
||||||
return ProcScreenSaverQueryInfo(client);
|
return ProcScreenSaverQueryInfo(client);
|
||||||
|
@ -1289,7 +1285,6 @@ static int _X_COLD
|
||||||
SProcScreenSaverSelectInput(ClientPtr client)
|
SProcScreenSaverSelectInput(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xScreenSaverSelectInputReq);
|
REQUEST(xScreenSaverSelectInputReq);
|
||||||
swaps(&stuff->length);
|
|
||||||
REQUEST_SIZE_MATCH(xScreenSaverSelectInputReq);
|
REQUEST_SIZE_MATCH(xScreenSaverSelectInputReq);
|
||||||
swapl(&stuff->drawable);
|
swapl(&stuff->drawable);
|
||||||
swapl(&stuff->eventMask);
|
swapl(&stuff->eventMask);
|
||||||
|
@ -1300,7 +1295,6 @@ static int _X_COLD
|
||||||
SProcScreenSaverSetAttributes(ClientPtr client)
|
SProcScreenSaverSetAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xScreenSaverSetAttributesReq);
|
REQUEST(xScreenSaverSetAttributesReq);
|
||||||
swaps(&stuff->length);
|
|
||||||
REQUEST_AT_LEAST_SIZE(xScreenSaverSetAttributesReq);
|
REQUEST_AT_LEAST_SIZE(xScreenSaverSetAttributesReq);
|
||||||
swapl(&stuff->drawable);
|
swapl(&stuff->drawable);
|
||||||
swaps(&stuff->x);
|
swaps(&stuff->x);
|
||||||
|
@ -1318,7 +1312,6 @@ static int _X_COLD
|
||||||
SProcScreenSaverUnsetAttributes(ClientPtr client)
|
SProcScreenSaverUnsetAttributes(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xScreenSaverUnsetAttributesReq);
|
REQUEST(xScreenSaverUnsetAttributesReq);
|
||||||
swaps(&stuff->length);
|
|
||||||
REQUEST_SIZE_MATCH(xScreenSaverUnsetAttributesReq);
|
REQUEST_SIZE_MATCH(xScreenSaverUnsetAttributesReq);
|
||||||
swapl(&stuff->drawable);
|
swapl(&stuff->drawable);
|
||||||
return ProcScreenSaverUnsetAttributes(client);
|
return ProcScreenSaverUnsetAttributes(client);
|
||||||
|
@ -1328,8 +1321,6 @@ static int _X_COLD
|
||||||
SProcScreenSaverSuspend(ClientPtr client)
|
SProcScreenSaverSuspend(ClientPtr client)
|
||||||
{
|
{
|
||||||
REQUEST(xScreenSaverSuspendReq);
|
REQUEST(xScreenSaverSuspendReq);
|
||||||
|
|
||||||
swaps(&stuff->length);
|
|
||||||
REQUEST_SIZE_MATCH(xScreenSaverSuspendReq);
|
REQUEST_SIZE_MATCH(xScreenSaverSuspendReq);
|
||||||
swapl(&stuff->suspend);
|
swapl(&stuff->suspend);
|
||||||
return ProcScreenSaverSuspend(client);
|
return ProcScreenSaverSuspend(client);
|
||||||
|
|
Loading…
Reference in New Issue