Bug #6988: Change behavior of Security extension per user feature request.
This commit is contained in:
parent
811675733e
commit
c2f3f705f1
|
@ -1187,6 +1187,7 @@ CALLBACK(SecurityCheckMapAccess)
|
||||||
if (STATEPTR(rec->client) &&
|
if (STATEPTR(rec->client) &&
|
||||||
(TRUSTLEVEL(rec->client) != XSecurityClientTrusted) &&
|
(TRUSTLEVEL(rec->client) != XSecurityClientTrusted) &&
|
||||||
(pWin->drawable.class == InputOnly) &&
|
(pWin->drawable.class == InputOnly) &&
|
||||||
|
pWin->parent && pWin->parent->parent &&
|
||||||
(TRUSTLEVEL(wClient(pWin->parent)) == XSecurityClientTrusted))
|
(TRUSTLEVEL(wClient(pWin->parent)) == XSecurityClientTrusted))
|
||||||
|
|
||||||
rec->rval = FALSE;
|
rec->rval = FALSE;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user