From 5b7e0db847c46affc207c327835d1efd3b2727de Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 25 Nov 2023 18:08:34 +0100 Subject: Misc updates MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xorg-xrandr/setres/get.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xorg-xrandr/setres/get.py') diff --git a/xorg-xrandr/setres/get.py b/xorg-xrandr/setres/get.py index 47a6428..6f5682b 100644 --- a/xorg-xrandr/setres/get.py +++ b/xorg-xrandr/setres/get.py @@ -31,6 +31,8 @@ class XScreen: class XConnector: def __init__(self, line): line = line.split(' ') + self.want_mode = None + self.want_rate = None self.name = line[0] self.connected = line[1] == 'connected' self.primary = False @@ -197,7 +199,7 @@ def get_setup(): for line in xrandr_output: if on_edid and line.startswith('\t\t') and ':' not in line: - connector.edid += line.replace(' ', '') + connector.edid += line.replace(' ', '').replace('\t', '') on_edid = None elif transx is not None: transx.append(line.strip()) -- cgit v1.2.3-70-g09d2