Xi: Change window access right check to RecieveAccess in XiSelectEvent.

This commit is contained in:
Peter Hutterer 2008-01-23 15:45:02 +10:30
parent 94a6a65ae7
commit 91dc8c43d2

View File

@ -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;