diff options
author | Michal Srb <msrb@suse.com> | 2013-10-07 17:57:14 +0300 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-10-26 12:19:38 -0400 |
commit | 293d0efe3c742f5010cddf5ad0420d0d1c43959b (patch) | |
tree | e704712cc38302f0151ade3b6c16e346a7e6696a | |
parent | 833e3e84a077766b16b42d2b24931c14cd00bfb9 (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>
(cherry picked from commit 91c7acfc3447a0073dd1db260cf05115d94ce7e8)
-rw-r--r-- | randr/rrdispatch.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/randr/rrdispatch.c b/randr/rrdispatch.c index b9346d3f9..7fee2bf9c 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); |