Merge pull request #139 from joseph-jones/master
Fix check for disconnected monitors (fixes #128)
This commit is contained in:
commit
f923b9588c
|
@ -317,7 +317,7 @@ class XrandrOutput(object):
|
|||
else:
|
||||
edid = "%s-%s" % (XrandrOutput.EDID_UNAVAILABLE, match["output"])
|
||||
|
||||
if not match["width"]:
|
||||
if not match["connected"]:
|
||||
options["off"] = None
|
||||
else:
|
||||
if match["mode_name"]:
|
||||
|
|
Loading…
Reference in New Issue