aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/output.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c
index b3589be5..24adc08d 100644
--- a/sway/tree/output.c
+++ b/sway/tree/output.c
@@ -262,10 +262,6 @@ void output_disable(struct sway_output *output) {
root_for_each_container(untrack_output, output);
- if (output->swaybg_client != NULL) {
- wl_client_destroy(output->swaybg_client);
- }
-
int index = list_find(root->outputs, output);
list_del(root->outputs, index);