summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-02-15 14:38:24 -0500
committerEamon Walsh <ewalsh@moss-huskies.epoch.ncsc.mil>2007-02-15 14:38:24 -0500
commitc2f3f705f1db8ca78292912544a7e416116175f3 (patch)
tree71490f4c09ca017ec0f17a6157bf37041bc51e62 /Xext
parent811675733e97416c990e6dc9c19271b43d96248d (diff)
Bug #6988: Change behavior of Security extension per user feature request.
Diffstat (limited to 'Xext')
-rw-r--r--Xext/security.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xext/security.c b/Xext/security.c
index bd397a9ab..7202d3947 100644
--- a/Xext/security.c
+++ b/Xext/security.c
@@ -1187,6 +1187,7 @@ CALLBACK(SecurityCheckMapAccess)
if (STATEPTR(rec->client) &&
(TRUSTLEVEL(rec->client) != XSecurityClientTrusted) &&
(pWin->drawable.class == InputOnly) &&
+ pWin->parent && pWin->parent->parent &&
(TRUSTLEVEL(wClient(pWin->parent)) == XSecurityClientTrusted))
rec->rval = FALSE;