summaryrefslogtreecommitdiff
path: root/Xi/xiquerypointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/xiquerypointer.c')
-rw-r--r--Xi/xiquerypointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xiquerypointer.c b/Xi/xiquerypointer.c
index e770e84fc..2222873aa 100644
--- a/Xi/xiquerypointer.c
+++ b/Xi/xiquerypointer.c
@@ -91,7 +91,7 @@ ProcXIQueryPointer(ClientPtr client)
return BadDevice;
}
- rc = dixLookupWindow(&pWin, stuff->win, client, DixReadAccess);
+ rc = dixLookupWindow(&pWin, stuff->win, client, DixGetAttrAccess);
if (rc != Success)
{
SendErrorToClient(client, IReqCode, X_XIQueryPointer,