]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Fix "transform" parsing
authorPhillip Berndt <phillip.berndt@googlemail.com>
Tue, 17 Feb 2015 10:07:24 +0000 (11:07 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Tue, 17 Feb 2015 10:07:24 +0000 (11:07 +0100)
See related commit 376005b

autorandr.py

index 5ae864bffff02230c718e7ae376de4473dfc417e..d7095f238492779642edf080cf5dbca358578a60 100755 (executable)
@@ -95,7 +95,7 @@ class XrandrOutput(object):
         ).*
         (?:\s*(?:                                                                       # Properties of the output
             Gamma: (?P<gamma>[0-9\.: ]+) |                                              # Gamma value
-            Transform: (?P<transform>(?:[\-0-9\.]+\s+){3}) |                            # Transformation matrix
+            Transform: (?P<transform>(?:[\-0-9\. ]+\s+){3}) |                           # Transformation matrix
             EDID: (?P<edid>\s*?(?:\\n\\t\\t[0-9a-f]+)+) |                               # EDID of the output
             (?![0-9])[^:\s][^:\n]+:.*(?:\s\\t[\\t ].+)*                                 # Other properties
         ))+