summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2009-03-09 17:28:40 -0400
committerEamon Walsh <ewalsh@tycho.nsa.gov>2009-03-09 17:29:24 -0400
commit6544490700051b3b5e88ac1890d71b35634c9100 (patch)
tree9b06c8dda65b337697134fb75be8d3c88610edb4 /randr
parentf8dd80d13bb5313a11b38b280f8ad3e22f0a6300 (diff)
Correct access mode in call to dixLookupWindow() within RRSelectInput.
Reported by Alan Coopersmith.
Diffstat (limited to 'randr')
-rw-r--r--randr/rrdispatch.c2
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,