+ disable_argv += configuration[output].option_vector
+ if disable_argv:
+ if subprocess.call(base_argv + disable_argv) != 0:
+ # Disabling the outputs failed. Retry with the next command:
+ # Sometimes disabling of outputs fails due to an invalid RRSetScreenSize.
+ # This does not occur if simultaneously the primary screen is reset.
+ pass
+ else:
+ disable_argv = []