(submit/fixup-req-len) composite: 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
ed9332b7c8
commit
81f68f5442
|
@ -380,8 +380,6 @@ static int _X_COLD
|
|||
SProcCompositeQueryVersion(ClientPtr client)
|
||||
{
|
||||
REQUEST(xCompositeQueryVersionReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xCompositeQueryVersionReq);
|
||||
swapl(&stuff->majorVersion);
|
||||
swapl(&stuff->minorVersion);
|
||||
|
@ -392,8 +390,6 @@ static int _X_COLD
|
|||
SProcCompositeRedirectWindow(ClientPtr client)
|
||||
{
|
||||
REQUEST(xCompositeRedirectWindowReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xCompositeRedirectWindowReq);
|
||||
swapl(&stuff->window);
|
||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||
|
@ -403,8 +399,6 @@ static int _X_COLD
|
|||
SProcCompositeRedirectSubwindows(ClientPtr client)
|
||||
{
|
||||
REQUEST(xCompositeRedirectSubwindowsReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xCompositeRedirectSubwindowsReq);
|
||||
swapl(&stuff->window);
|
||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||
|
@ -414,8 +408,6 @@ static int _X_COLD
|
|||
SProcCompositeUnredirectWindow(ClientPtr client)
|
||||
{
|
||||
REQUEST(xCompositeUnredirectWindowReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xCompositeUnredirectWindowReq);
|
||||
swapl(&stuff->window);
|
||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||
|
@ -425,8 +417,6 @@ static int _X_COLD
|
|||
SProcCompositeUnredirectSubwindows(ClientPtr client)
|
||||
{
|
||||
REQUEST(xCompositeUnredirectSubwindowsReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xCompositeUnredirectSubwindowsReq);
|
||||
swapl(&stuff->window);
|
||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||
|
@ -436,8 +426,6 @@ static int _X_COLD
|
|||
SProcCompositeCreateRegionFromBorderClip(ClientPtr client)
|
||||
{
|
||||
REQUEST(xCompositeCreateRegionFromBorderClipReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xCompositeCreateRegionFromBorderClipReq);
|
||||
swapl(&stuff->region);
|
||||
swapl(&stuff->window);
|
||||
|
@ -448,8 +436,6 @@ static int _X_COLD
|
|||
SProcCompositeNameWindowPixmap(ClientPtr client)
|
||||
{
|
||||
REQUEST(xCompositeNameWindowPixmapReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xCompositeNameWindowPixmapReq);
|
||||
swapl(&stuff->window);
|
||||
swapl(&stuff->pixmap);
|
||||
|
@ -460,8 +446,6 @@ static int _X_COLD
|
|||
SProcCompositeGetOverlayWindow(ClientPtr client)
|
||||
{
|
||||
REQUEST(xCompositeGetOverlayWindowReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xCompositeGetOverlayWindowReq);
|
||||
swapl(&stuff->window);
|
||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||
|
@ -471,8 +455,6 @@ static int _X_COLD
|
|||
SProcCompositeReleaseOverlayWindow(ClientPtr client)
|
||||
{
|
||||
REQUEST(xCompositeReleaseOverlayWindowReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xCompositeReleaseOverlayWindowReq);
|
||||
swapl(&stuff->window);
|
||||
return (*ProcCompositeVector[stuff->compositeReqType]) (client);
|
||||
|
|
Loading…
Reference in New Issue