summaryrefslogtreecommitdiff
path: root/randr
diff options
context:
space:
mode:
authorMichal Srb <msrb@suse.com>2013-10-07 17:57:14 +0300
committerAdam Jackson <ajax@redhat.com>2015-09-23 13:12:21 -0400
commit91c7acfc3447a0073dd1db260cf05115d94ce7e8 (patch)
treebf2b8efb9111544e7f8f910c6c5c3f6260136d0d /randr
parent5437949a51fa6d9c9c83336d46ae57398f390ee3 (diff)
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 <ajax@redhat.com> Signed-off-by: Michal Srb <msrb@suse.com>
Diffstat (limited to 'randr')
-rw-r--r--randr/rrdispatch.c4
1 files changed, 3 insertions, 1 deletions
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);