From: Phillip Berndt Date: Sun, 17 Feb 2019 11:48:15 +0000 (+0100) Subject: Merge pull request #139 from joseph-jones/master X-Git-Tag: 1.8~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f923b9588c2d6d7a3cba081cfb18f363e0ff45ad;hp=507df0ece035ba2e90254ade232111bc07ed3a99;p=deb_pkgs%2Fautorandr.git Merge pull request #139 from joseph-jones/master Fix check for disconnected monitors (fixes #128) --- 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"]: