mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
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> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639>
This commit is contained in:
committed by
Marge Bot
parent
eea9e4e84b
commit
96344583e4
@@ -378,8 +378,6 @@ static int _X_COLD
|
||||
SProcCompositeQueryVersion(ClientPtr client)
|
||||
{
|
||||
REQUEST(xCompositeQueryVersionReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xCompositeQueryVersionReq);
|
||||
swapl(&stuff->majorVersion);
|
||||
swapl(&stuff->minorVersion);
|
||||
@@ -390,8 +388,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);
|
||||
@@ -401,8 +397,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);
|
||||
@@ -412,8 +406,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);
|
||||
@@ -423,8 +415,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);
|
||||
@@ -434,8 +424,6 @@ static int _X_COLD
|
||||
SProcCompositeCreateRegionFromBorderClip(ClientPtr client)
|
||||
{
|
||||
REQUEST(xCompositeCreateRegionFromBorderClipReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xCompositeCreateRegionFromBorderClipReq);
|
||||
swapl(&stuff->region);
|
||||
swapl(&stuff->window);
|
||||
@@ -446,8 +434,6 @@ static int _X_COLD
|
||||
SProcCompositeNameWindowPixmap(ClientPtr client)
|
||||
{
|
||||
REQUEST(xCompositeNameWindowPixmapReq);
|
||||
|
||||
swaps(&stuff->length);
|
||||
REQUEST_SIZE_MATCH(xCompositeNameWindowPixmapReq);
|
||||
swapl(&stuff->window);
|
||||
swapl(&stuff->pixmap);
|
||||
@@ -458,8 +444,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);
|
||||
@@ -469,8 +453,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);
|
||||
|
||||
Reference in New Issue
Block a user