Matches the path taken for XSelectInput() calls in ProcChangeWindowAttributes, which checks for DixReceiveAccess for requesting events from the window.
Signed-off-by: Alan Coopersmith <[email protected]> --- randr/rrdispatch.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/randr/rrdispatch.c b/randr/rrdispatch.c index 5a2ea71..0925875 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, -- 1.5.6.5 _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
