summaryrefslogtreecommitdiff
path: root/Xi/xiselev.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/xiselev.c')
-rw-r--r--Xi/xiselev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xiselev.c b/Xi/xiselev.c
index 8740487df..59f75b547 100644
--- a/Xi/xiselev.c
+++ b/Xi/xiselev.c
@@ -64,7 +64,7 @@ ProcXiSelectEvent(ClientPtr client)
REQUEST(xXiSelectEventReq);
REQUEST_SIZE_MATCH(xXiSelectEventReq);
- ret = dixLookupWindow(&pWin, stuff->window, client, DixReadWriteAccess);
+ ret = dixLookupWindow(&pWin, stuff->window, client, DixWriteAccess);
if (ret != Success)
{
SendErrorToClient(client, IReqCode, X_XiSelectEvent, 0, ret);