diff options
author | Drew DeVault <[email protected]> | 2015-12-16 19:20:34 -0500 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-12-16 19:20:34 -0500 |
commit | f6da4dda4b9598eab16d4d7d77a06693fa6df9c3 (patch) | |
tree | 20ef4c5270639ac0cf972ab75a497b9e461dccf2 /sway/container.c | |
parent | 2231acb790d6c07324b70af78510e064b2cc2720 (diff) |
Bring unmanaged windows to front on output arrange
Fixes #312
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); |