aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-18 10:16:22 -0500
committerGitHub <noreply@github.com>2019-01-18 10:16:22 -0500
commit60220fcecd1d30c022b3137372d339204e8238c6 (patch)
tree40c249616f5bc7da696d2436879eab73244f18a7 /sway
parentdd4a6586b24b67df522d1617a6fac774cefd9821 (diff)
parent6ff54d0640a36a9f2ebb2e67bb5f431a2553c1cf (diff)
Merge pull request #3460 from emersion/output-enable-segfault
Fix segfault in output_enable
Diffstat (limited to 'sway')
-rw-r--r--sway/tree/output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c
index 21beb504..b79e70d4 100644
--- a/sway/tree/output.c
+++ b/sway/tree/output.c
@@ -228,6 +228,7 @@ void output_disable(struct sway_output *output) {
list_del(root->outputs, index);
output->enabled = false;
+ output->configured = false;
arrange_root();
}