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:
|
else:
|
||||||
edid = "%s-%s" % (XrandrOutput.EDID_UNAVAILABLE, match["output"])
|
edid = "%s-%s" % (XrandrOutput.EDID_UNAVAILABLE, match["output"])
|
||||||
|
|
||||||
if not match["width"]:
|
if not match["connected"]:
|
||||||
options["off"] = None
|
options["off"] = None
|
||||||
else:
|
else:
|
||||||
if match["mode_name"]:
|
if match["mode_name"]:
|
||||||
|
|
Loading…
Reference in New Issue