aboutsummaryrefslogtreecommitdiffstats
path: root/swaybar
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar')
-rw-r--r--swaybar/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/ipc.c b/swaybar/ipc.c
index 93d1219c..f9df0d10 100644
--- a/swaybar/ipc.c
+++ b/swaybar/ipc.c
@@ -352,7 +352,7 @@ void ipc_bar_init(struct bar *bar, const char *bar_id) {
352 } 352 }
353 353
354 // add bar to the output 354 // add bar to the output
355 struct output *bar_output = new_output(name); 355 struct output *bar_output = sway_container_output_create(name);
356 bar_output->idx = i; 356 bar_output->idx = i;
357 list_add(bar->outputs, bar_output); 357 list_add(bar->outputs, bar_output);
358 } 358 }