summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-01-23 15:45:02 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-01-25 10:27:21 +1030
commit91dc8c43d2343e494c59023484883f4683bdc639 (patch)
treef06cb1e11554c87dcfb73b35448bd2a7dbf84277 /Xi
parent94a6a65ae7414c8247aa1741ec5c7561e6f4bbe0 (diff)
Xi: Change window access right check to RecieveAccess in XiSelectEvent.
Diffstat (limited to 'Xi')
-rw-r--r--Xi/xiselev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xiselev.c b/Xi/xiselev.c
index 601b10caf..f24dd3625 100644
--- a/Xi/xiselev.c
+++ b/Xi/xiselev.c
@@ -65,7 +65,7 @@ ProcXiSelectEvent(ClientPtr client)
REQUEST(xXiSelectEventReq);
REQUEST_SIZE_MATCH(xXiSelectEventReq);
- rc = dixLookupWindow(&pWin, stuff->window, client, DixWriteAccess);
+ rc = dixLookupWindow(&pWin, stuff->window, client, DixReceiveAccess);
if (rc != Success)
return rc;