diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-03-09 17:28:40 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2009-04-08 16:05:11 -0400 |
commit | b7dc7374bbcb708eee6eec26ff141619f914d8eb (patch) | |
tree | 44c7c780e4624fb80b2e55d8d30e3745399d218d | |
parent | 38b0f9edca80e43b4c8c364cfebc25c835d24cbd (diff) |
Correct access mode in call to dixLookupWindow() within RRSelectInput.
Reported by Alan Coopersmith.
(cherry picked from commit 6544490700051b3b5e88ac1890d71b35634c9100)
-rw-r--r-- | randr/rrdispatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/rrdispatch.c b/randr/rrdispatch.c index 5a2ea715f..0925875bf 100644 --- a/randr/rrdispatch.c +++ b/randr/rrdispatch.c @@ -76,7 +76,7 @@ ProcRRSelectInput (ClientPtr client) int rc; REQUEST_SIZE_MATCH(xRRSelectInputReq); - rc = dixLookupWindow(&pWin, stuff->window, client, DixWriteAccess); + rc = dixLookupWindow(&pWin, stuff->window, client, DixReceiveAccess); if (rc != Success) return rc; pHead = (RREventPtr *)SecurityLookupIDByType(client, |