]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - autorandr.py
fixing horizontal-reverse profile which was doing the same thing as vertical-reverse
[deb_pkgs/autorandr.git] / autorandr.py
index a23d1a6089911b758fd5a13572584f539d95e635..2919bb0c9f693a0aba9c2b6bbabac34710beaeae 100755 (executable)
@@ -1054,7 +1054,7 @@ def generate_virtual_profile(configuration, modes, profile_name):
                     configuration[output].options["off"] = None
     elif profile_name in ("horizontal", "vertical", "horizontal-reverse", "vertical-reverse"):
         shift = 0
-        if profile_name == "horizontal":
+        if profile_name.startswith("horizontal"):
             shift_index = "width"
             pos_specifier = "%sx0"
         else: