Bug #6988: Change behavior of Security extension per user feature request.

This commit is contained in:
Eamon Walsh 2007-02-15 14:38:24 -05:00 committed by Eamon Walsh
parent 811675733e
commit c2f3f705f1

View File

@ -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;