]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
New upstream version 1.7 upstream/1.7
authorDon Armstrong <don@donarmstrong.com>
Mon, 31 Dec 2018 05:58:24 +0000 (21:58 -0800)
committerDon Armstrong <don@donarmstrong.com>
Mon, 31 Dec 2018 05:58:24 +0000 (21:58 -0800)
README.md
autorandr.py

index df8fe4b35e9dd58c77dc93dcbaef505286fc313c..71b3aebe2923d4c8ac2a882d86e76ae3cd8b6c59 100644 (file)
--- a/README.md
+++ b/README.md
@@ -79,7 +79,6 @@ you can
 * Use the automated nightlies generated by the
   [openSUSE build service](https://build.opensuse.org/package/show/home:phillipberndt/autorandr)
   for various distributions (RPM and DEB based).
-* Use the [X binary package system](https://wiki.voidlinux.eu/XBPS)' on Void Linux 
 * Build a .deb-file from the source tree using `make deb`.
 
 We appreciate packaging scripts for other distributions, please file a pull
index 1e980f6f7c0f7bc8f96999e36f5162a3971f5403..d36b568485aca6e87a3b61e83ada3be63fe866b6 100755 (executable)
@@ -638,8 +638,7 @@ def get_fb_dimensions(configuration):
         if "off" in output.options or not output.edid:
             continue
         # This won't work with all modes -- but it's a best effort.
-        o_mode = re.search("[0-9]{3,}x[0-9]{3,}", output.options["mode"]).group(0)
-        o_width, o_height = map(int, o_mode.split("x"))
+        o_width, o_height = map(int, output.options["mode"].split("x"))
         if "transform" in output.options:
             a, b, c, d, e, f, g, h, i = map(float, output.options["transform"].split(","))
             w = (g * o_width + h * o_height + i)