From a64db8d1269af1c76bfa3604de489fe2f6c4a12e Mon Sep 17 00:00:00 2001 From: Joseph M Jones Date: Sat, 9 Feb 2019 19:40:07 +0000 Subject: [PATCH] Fix check for disconnected monitors (fixes #128) --- autorandr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autorandr.py b/autorandr.py index 1e980f6..7edf72f 100755 --- a/autorandr.py +++ b/autorandr.py @@ -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"]: -- 2.39.2