XRandR: Allow multiple but not all CRTCs to be redshifted #421

Merged
merged 1 commit into from Jan 14, 2017

Projects

None yet

2 participants

@jonls
Owner
jonls commented Jan 8, 2017

Based on #81.

@lennartS @jonls lennartS XRandR: Allow multiple but not all CRTCs to be redshifted
Previously only one CRTC could be set in the configuration file for
redshifting when XRandR mechanism was being used. That is fine for
a setup with two displays but breaks when three or more displays
are in use and one of those shouldn't be redshifted (e.g. two
computer displays and one TV connected to the computer).

The config value 'crtc' for method xrandr can now be entered as
comma separated list of multiple CRTCs. All CRTCs in the list will
be redshifted while all those not in the list will not be touched.
e027590
@lennartS
Contributor

Tested and confirmed as working on my machine with 6 CRTCs. Selection of multiple CRTCs works, an error message is printed if the given CRTC does not exist.

@jonls jonls merged commit 460cd9c into master Jan 14, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@jonls jonls deleted the randr-adjust-multiple branch Jan 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment