mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: inline SProcResourceReq()
Simplifying byte-swapping code flow by inlining SProcResourceReq() instead of having complicated call chains. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
794a3f3630
commit
5ccaceb43c
@@ -1567,6 +1567,9 @@ ProcGetWindowAttributes(ClientPtr client)
|
||||
REQUEST(xResourceReq);
|
||||
REQUEST_SIZE_MATCH(xResourceReq);
|
||||
|
||||
if (client->swapped)
|
||||
swapl(&stuff->id);
|
||||
|
||||
WindowPtr pWin;
|
||||
int rc = dixLookupWindow(&pWin, stuff->id, client, DixGetAttrAccess);
|
||||
if (rc != Success)
|
||||
|
||||
Reference in New Issue
Block a user