Revert "dix: Pull client-is-local flag up to the ClientRec"

This reverts commit 49d38b75c8.

ABI change pended for 1.13
This commit is contained in:
Keith Packard 2012-01-12 12:09:59 -08:00
commit d9eeede52f
14 changed files with 29 additions and 20 deletions

View file

@ -630,7 +630,7 @@ ProcAppleWMDispatch (
return ProcAppleWMQueryVersion(client);
}
if (!client->local)
if (!LocalClient(client))
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 (!client->local)
if (!LocalClient(client))
return WMErrorBase + AppleWMClientNotLocal;
/* only local clients are allowed WM access */

View file

@ -133,7 +133,7 @@ ProcAppleDRIQueryDirectRenderingCapable(
}
rep.isCapable = isCapable;
if (!client->local)
if (!LocalClient(client))
rep.isCapable = 0;
if (client->swapped) {
@ -365,7 +365,7 @@ ProcAppleDRIDispatch (
return ProcAppleDRIQueryDirectRenderingCapable(client);
}
if (!client->local)
if (!LocalClient(client))
return DRIErrorBase + AppleDRIClientNotLocal;
switch (stuff->data)