From ab1886df73b73360fa3bd7ce8e01affc074cbc8d Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Thu, 14 Dec 2006 15:42:19 -0500 Subject: [PATCH] Add new, combined dix lookup functions (tweak). --- dix/dixutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dix/dixutils.c b/dix/dixutils.c index f9980c5a8..3479ddccf 100644 --- a/dix/dixutils.c +++ b/dix/dixutils.c @@ -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; }