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

@ -548,7 +548,7 @@ ProcWindowsWMDispatch (ClientPtr client)
return ProcWindowsWMQueryVersion(client);
}
if (!client->local)
if (!LocalClient(client))
return WMErrorBase + WindowsWMClientNotLocal;
switch (stuff->data)
@ -598,7 +598,7 @@ SProcWindowsWMDispatch (ClientPtr client)
REQUEST(xReq);
/* It is bound to be non-local when there is byte swapping */
if (!client->local)
if (!LocalClient(client))
return WMErrorBase + WindowsWMClientNotLocal;
/* only local clients are allowed WM access */