X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autorandr.py;h=30fa225ade5599340d27e59fe052576c8c8b69fe;hb=8e911c88fae965ebeff6f2d0509755ab2bed498d;hp=2a4ddb7f3baffdf10f6c6d3847ed90c18afec40f;hpb=71644199c85817ebb9258a1921e3a3b00deee8e9;p=deb_pkgs%2Fautorandr.git diff --git a/autorandr.py b/autorandr.py index 2a4ddb7..30fa225 100755 --- a/autorandr.py +++ b/autorandr.py @@ -761,7 +761,7 @@ def is_equal_configuration(source_configuration, target_configuration): """ for output in target_configuration.keys(): if "off" in target_configuration[output].options: - if (output in source_configuration or "off" not in source_configuration[output].options): + if (output in source_configuration and "off" not in source_configuration[output].options): return False else: if (output not in source_configuration) or (source_configuration[output] != target_configuration[output]):