mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-28 21:33:09 +00:00
Merge commit '777bf90abe'
This commit is contained in:
commit
0b113f7cdf
20 changed files with 95 additions and 128 deletions
|
|
@ -630,7 +630,7 @@ ProcAppleWMDispatch (
|
|||
return ProcAppleWMQueryVersion(client);
|
||||
}
|
||||
|
||||
if (!LocalClient(client))
|
||||
if (!client->local)
|
||||
return WMErrorBase + AppleWMClientNotLocal;
|
||||
|
||||
switch (stuff->data)
|
||||
|
|
@ -693,7 +693,7 @@ SProcAppleWMDispatch (
|
|||
REQUEST(xReq);
|
||||
|
||||
/* It is bound to be non-local when there is byte swapping */
|
||||
if (!LocalClient(client))
|
||||
if (!client->local)
|
||||
return WMErrorBase + AppleWMClientNotLocal;
|
||||
|
||||
/* only local clients are allowed WM access */
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ ProcAppleDRIQueryDirectRenderingCapable(
|
|||
}
|
||||
rep.isCapable = isCapable;
|
||||
|
||||
if (!LocalClient(client))
|
||||
if (!client->local)
|
||||
rep.isCapable = 0;
|
||||
|
||||
if (client->swapped) {
|
||||
|
|
@ -365,7 +365,7 @@ ProcAppleDRIDispatch (
|
|||
return ProcAppleDRIQueryDirectRenderingCapable(client);
|
||||
}
|
||||
|
||||
if (!LocalClient(client))
|
||||
if (!client->local)
|
||||
return DRIErrorBase + AppleDRIClientNotLocal;
|
||||
|
||||
switch (stuff->data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue