summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2006-12-14 15:42:19 -0500
committerEamon Walsh <ewalsh@moss-huskies.epoch.ncsc.mil>2006-12-14 15:42:19 -0500
commitab1886df73b73360fa3bd7ce8e01affc074cbc8d (patch)
tree42e20bd3d81a78980fc23f20de30ba56ca35b216
parent60cdc592fe042c03ceb5d4c3344acfbbf5d8ae28 (diff)
Add new, combined dix lookup functions (tweak).
-rw-r--r--dix/dixutils.c2
1 files changed, 1 insertions, 1 deletions
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;
}