Add new, combined dix lookup functions (tweak).

This commit is contained in:
Eamon Walsh 2006-12-14 15:42:19 -05:00 committed by Eamon Walsh
parent 60cdc592fe
commit ab1886df73

View File

@ -298,7 +298,7 @@ _X_EXPORT pointer
SecurityLookupDrawable(XID id, ClientPtr client, Mask access_mode)
{
DrawablePtr pDraw;
int i = dixLookupDrawable(&pDraw, id, client, access_mode, TRUE);
int i = dixLookupDrawable(&pDraw, id, client, M_DRAWABLE, access_mode);
return (i == Success) ? pDraw : NULL;
}