Skip to content

Commit 527c3cd

Browse files
committed
Transformation matrices can contain negative indices
1 parent d8eca80 commit 527c3cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autorandr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class XrandrOutput(object):
9595
).*
9696
(?:\s*(?: # Properties of the output
9797
Gamma: (?P<gamma>[0-9\.:\s]+) | # Gamma value
98-
Transform: (?P<transform>[0-9\.\s]+) | # Transformation matrix
98+
Transform: (?P<transform>[\-0-9\.\s]+) | # Transformation matrix
9999
EDID: (?P<edid>[0-9a-f\s]+) | # EDID of the output
100100
(?![0-9])[^:\s][^:\n]+:.*(?:\s\\t[\\t ].+)* # Other properties
101101
))+

0 commit comments

Comments
 (0)