From 6ff54d0640a36a9f2ebb2e67bb5f431a2553c1cf Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 18 Jan 2019 14:52:40 +0100 Subject: [PATCH] Fix segfault in output_enable --- sway/tree/output.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/tree/output.c b/sway/tree/output.c index 21beb5044..b79e70d49 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(); }