From d4b8f7602b5e266a0ebd3b1ba23724362cc7de3a Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Mon, 10 Aug 2009 18:39:04 -0400 Subject: [PATCH] xace: fix access mode in dixLookupWindow call within ProcUngrabKey. Referencing a window (as grab-window) only requires GetAttr access. Signed-off-by: Eamon Walsh --- dix/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dix/events.c b/dix/events.c index 8450706c2..b32960abe 100644 --- a/dix/events.c +++ b/dix/events.c @@ -5137,7 +5137,7 @@ ProcUngrabKey(ClientPtr client) int rc; REQUEST_SIZE_MATCH(xUngrabKeyReq); - rc = dixLookupWindow(&pWin, stuff->grabWindow, client, DixReadAccess); + rc = dixLookupWindow(&pWin, stuff->grabWindow, client, DixGetAttrAccess); if (rc != Success) return rc;