Skip to content

Commit

Permalink
randr: Allow RRSelectInput for ProviderChange and ResourceChange events
Browse files Browse the repository at this point in the history
[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>
  • Loading branch information
Michal Srb authored and nwnk committed Sep 23, 2015
1 parent 5437949 commit 91c7acf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion randr/rrdispatch.c
Expand Up @@ -92,7 +92,9 @@ ProcRRSelectInput(ClientPtr client)
RRCrtcChangeNotifyMask |
RROutputChangeNotifyMask |
RROutputPropertyNotifyMask |
RRProviderPropertyNotifyMask)) {
RRProviderChangeNotifyMask |
RRProviderPropertyNotifyMask |
RRResourceChangeNotifyMask)) {
ScreenPtr pScreen = pWin->drawable.pScreen;

rrScrPriv(pScreen);
Expand Down

0 comments on commit 91c7acf

Please sign in to comment.