mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-07 04:14:20 +00:00
Add new, combined dix lookup functions (tweak).
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user