aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-02-14 14:51:51 -0500
committerTony Crisci <tony@dubstepdish.com>2018-02-14 14:51:51 -0500
commit7dfbf06de9a5659d4c73edf53c38ee07068a2877 (patch)
treeccf6d0147d57fd65bc742d8d576e01d2ab2f8249 /sway/tree
parent06c71f115bb0632ef1e75d881d509665198e1eef (diff)
downloadsway-7dfbf06de9a5659d4c73edf53c38ee07068a2877.tar.xz
output destroy
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/container.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 48aabd86..1a468c19 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -235,6 +235,8 @@ swayc_t *destroy_output(swayc_t *output) {
}
}
+ wl_list_remove(&output->sway_output->output_destroy.link);
+
wlr_log(L_DEBUG, "OUTPUT: Destroying output '%s'", output->name);
free_swayc(output);