Fix check for disconnected monitors (fixes #128)

This commit is contained in:
Joseph M Jones 2019-02-09 19:40:07 +00:00
parent f24910c746
commit a64db8d126

View File

@ -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"]: