aboutsummaryrefslogtreecommitdiffstats
path: root/xorg-xrandr/setres
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-xrandr/setres')
-rw-r--r--xorg-xrandr/setres/get.py4
1 files changed, 3 insertions, 1 deletions
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())