aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-01-18 14:52:40 +0100
committeremersion <contact@emersion.fr>2019-01-18 14:52:40 +0100
commit6ff54d0640a36a9f2ebb2e67bb5f431a2553c1cf (patch)
tree40c249616f5bc7da696d2436879eab73244f18a7
parentdd4a6586b24b67df522d1617a6fac774cefd9821 (diff)
Fix segfault in output_enable
-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();
}