Fix from X.Org repository: untrusted access broken in 7.3.

This commit is contained in:
matthieu 2008-02-20 21:29:42 +00:00
parent 2610b1cdea
commit 807e8fa566

View File

@ -1014,7 +1014,7 @@ CALLBACK(SecurityCheckResourceIDAccess)
}
else /* server-owned resource - probably a default colormap or root window */
{
if (RT_WINDOW == rtype || RC_DRAWABLE == rtype)
if (RC_DRAWABLE & rtype)
{
switch (reqtype)
{ /* the following operations are allowed on root windows */