From 91dc8c43d2343e494c59023484883f4683bdc639 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 23 Jan 2008 15:45:02 +1030 Subject: Xi: Change window access right check to RecieveAccess in XiSelectEvent. --- Xi/xiselev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Xi') 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; -- cgit v1.2.3