mirror of
https://github.com/swaywm/sway.git
synced 2026-04-29 06:46:22 -04:00
fixes
This commit is contained in:
parent
a2896f33a4
commit
f4c90635ff
9 changed files with 20 additions and 19 deletions
|
|
@ -315,7 +315,7 @@ void ipc_bar_init(struct bar *bar, const char *bar_id) {
|
|||
// add bar to the output
|
||||
struct output *bar_output = new_output(name);
|
||||
bar_output->idx = i;
|
||||
list_add(bar->outputs, bar_output);
|
||||
list_add(bar->outputs, &bar_output);
|
||||
}
|
||||
free(res);
|
||||
json_object_put(outputs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue