diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-02-23 14:25:09 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2016-02-27 22:12:35 +0100 |
commit | bad4e22f3be658f8688f308e54a48b65c071a952 (patch) | |
tree | d4cbcd353d981d8fb1e0bb7eb4b78dc3aea023d8 /sway/container.c | |
parent | 6d57f03028b4b32b4377d869be8de9a7e6aa55ee (diff) |
Make sway spawn only one bar per bar config
Diffstat (limited to 'sway/container.c')
-rw-r--r-- | sway/container.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sway/container.c b/sway/container.c index 746890c9..2db7b218 100644 --- a/sway/container.c +++ b/sway/container.c @@ -61,10 +61,6 @@ static void free_swayc(swayc_t *cont) { if (cont->app_id) { free(cont->app_id); } - if (cont->bar_pids) { - terminate_swaybars(cont->bar_pids); - free_flat_list(cont->bar_pids); - } if (cont->bg_pid != 0) { terminate_swaybg(cont->bg_pid); } @@ -123,7 +119,6 @@ swayc_t *new_output(wlc_handle handle) { output->width = size->w; output->height = size->h; output->unmanaged = create_list(); - output->bar_pids = create_list(); output->bg_pid = 0; apply_output_config(oc, output); |