]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
fixing horizontal-reverse profile which was doing the same thing as vertical-reverse
authorMagks <magks@github.com>
Sat, 24 Dec 2022 22:15:30 +0000 (14:15 -0800)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Sun, 15 Jan 2023 14:06:28 +0000 (15:06 +0100)
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: