From 91c7acfc3447a0073dd1db260cf05115d94ce7e8 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Mon, 7 Oct 2013 17:57:14 +0300 Subject: [PATCH] randr: Allow RRSelectInput for ProviderChange and ResourceChange events [ajax: To be clear, we already have code to emit these events, and it looks like it works, but to get them you'd have had to also ask for one of the other notify types. This makes it possible to listen for e.g. ProviderChange alone.] Reviewed-by: Adam Jackson Signed-off-by: Michal Srb --- randr/rrdispatch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/randr/rrdispatch.c b/randr/rrdispatch.c index 13ac6b117..314e4ea52 100644 --- a/randr/rrdispatch.c +++ b/randr/rrdispatch.c @@ -92,7 +92,9 @@ ProcRRSelectInput(ClientPtr client) RRCrtcChangeNotifyMask | RROutputChangeNotifyMask | RROutputPropertyNotifyMask | - RRProviderPropertyNotifyMask)) { + RRProviderChangeNotifyMask | + RRProviderPropertyNotifyMask | + RRResourceChangeNotifyMask)) { ScreenPtr pScreen = pWin->drawable.pScreen; rrScrPriv(pScreen);