summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-06-11 09:23:18 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-06-11 09:23:18 +0200
commit644f7ddc0cb029e2ebca43742fd8a46a1a3f4c9f (patch)
treeadb613dddf41d51540b1b6d36ed7b5a65f45b66a
parent30a3297fed9af3a594aba0875a8f58a0a38b33fc (diff)
dixLookupClient: Use access parameter.
-rw-r--r--dix/dixutils.c2
1 files changed, 1 insertions, 1 deletions
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;