mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-11 23:43:06 +00:00
dix: Pull client-is-local flag up to the ClientRec
Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
f702372822
commit
49d38b75c8
14 changed files with 20 additions and 29 deletions
|
|
@ -548,7 +548,7 @@ ProcWindowsWMDispatch (ClientPtr client)
|
|||
return ProcWindowsWMQueryVersion(client);
|
||||
}
|
||||
|
||||
if (!LocalClient(client))
|
||||
if (!client->local)
|
||||
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 (!LocalClient(client))
|
||||
if (!client->local)
|
||||
return WMErrorBase + WindowsWMClientNotLocal;
|
||||
|
||||
/* only local clients are allowed WM access */
|
||||
|
|
|
|||
Loading…
Reference in a new issue