From 644f7ddc0cb029e2ebca43742fd8a46a1a3f4c9f Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Mon, 11 Jun 2007 09:23:18 +0200 Subject: dixLookupClient: Use access parameter. --- dix/dixutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dix/dixutils.c b/dix/dixutils.c index 30327d361..c1e30ff18 100644 --- a/dix/dixutils.c +++ b/dix/dixutils.c @@ -265,7 +265,7 @@ _X_EXPORT int dixLookupClient(ClientPtr *pClient, XID rid, ClientPtr client, Mask access) { pointer pRes = (pointer)SecurityLookupIDByClass(client, rid, RC_ANY, - DixReadAccess); + access); int clientIndex = CLIENT_ID(rid); client->errorValue = rid; -- cgit v1.2.3