diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-03-23 10:33:53 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil> | 2007-03-23 10:33:53 -0400 |
commit | 84a066cc88fe4326ddacd04ab5e1158a80571c33 (patch) | |
tree | 451ff9a7b80a69878adfae8ba4ab4ff71d032f1a /Xext/security.c | |
parent | e1cc68add0bcdd5e0e4e15cf6ee8a3da136d3534 (diff) |
xace: pass serverClient as default argument to dixChangeWindowProperty
instead of NullClient.
Diffstat (limited to 'Xext/security.c')
-rw-r--r-- | Xext/security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/security.c b/Xext/security.c index 7ea032f54..74ba8d42c 100644 --- a/Xext/security.c +++ b/Xext/security.c @@ -1715,7 +1715,7 @@ SecurityCheckPropertyAccess(CallbackListPtr *pcbl, pointer unused, /* if client trusted or window untrusted, allow operation */ - if (!client || (TRUSTLEVEL(client) == XSecurityClientTrusted) || + if ((TRUSTLEVEL(client) == XSecurityClientTrusted) || (TRUSTLEVEL(wClient(pWin)) != XSecurityClientTrusted) ) return; |