Xi: Change window access right check to RecieveAccess in XiSelectEvent.
This commit is contained in:
parent
94a6a65ae7
commit
91dc8c43d2
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user