diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-06-18 08:27:48 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-07-01 11:12:55 -0400 |
commit | 53ef3fc13b3e282902892e3140765460c6f93276 (patch) | |
tree | 2a7e59af59661602df8be803f002ecbfa751e12d | |
parent | 09989b09a342b273ee30e1d96267dced3cbe61b0 (diff) |
Mark disabling an output as a change in its CRTC
When an output is disabled via the cmdline, we can use that information
to prevent assigning the current CRTC to the output and free it up for
reuse by other outputs in the first pass of picking CRTC.
Reported-and-tested-by: Nathan Schulte <nmschulte@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | xrandr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3029,7 +3029,7 @@ main (int argc, char **argv) if (!config_output) argerr ("%s must be used after --output\n", argv[i]); set_name_xid (&config_output->mode, None); set_name_xid (&config_output->crtc, None); - config_output->changes |= changes_mode; + config_output->changes |= changes_mode | changes_crtc; continue; } if (!strcmp ("--fb", argv[i])) { |