mirror of
https://github.com/phillipberndt/autorandr
synced 2025-02-20 13:57:03 +00:00
Fix check for disconnected monitors (fixes #128)
This commit is contained in:
parent
f24910c746
commit
a64db8d126
@ -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
Block a user