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