From 6ff54d0640a36a9f2ebb2e67bb5f431a2553c1cf Mon Sep 17 00:00:00 2001 From: emersion Date: Fri, 18 Jan 2019 14:52:40 +0100 Subject: Fix segfault in output_enable --- sway/tree/output.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway') 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(); } -- cgit v1.2.3