]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Transformation matrices can contain negative indices
authorPhillip Berndt <phillip.berndt@googlemail.com>
Wed, 11 Feb 2015 09:54:16 +0000 (10:54 +0100)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Wed, 11 Feb 2015 09:54:16 +0000 (10:54 +0100)
autorandr.py

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