diff options
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/container.c b/sway/container.c index a40c483c..8165bbad 100644 --- a/sway/container.c +++ b/sway/container.c @@ -38,6 +38,9 @@ static void free_swayc(swayc_t *cont) { } list_free(cont->children); } + if (cont->unmanaged) { + list_free(cont->unmanaged); + } if (cont->floating) { while (cont->floating->length) { free_swayc(cont->floating->items[0]); @@ -104,6 +107,7 @@ swayc_t *new_output(wlc_handle handle) { output->name = name ? strdup(name) : NULL; output->width = size->w; output->height = size->h; + output->unmanaged = create_list(); apply_output_config(oc, output); add_child(&root_container, output); |