mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Make sway spawn only one bar per bar config
This commit is contained in:
parent
6d57f03028
commit
bad4e22f3b
5 changed files with 31 additions and 54 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue