aboutsummaryrefslogtreecommitdiff
path: root/swaybar
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-30 00:00:23 -0400
committerGitHub <noreply@github.com>2018-03-30 00:00:23 -0400
commit7162b9bea4d66d61376ad3605e23e2d83bb95201 (patch)
tree6f7a3121f15503a923c1ce53bf2bee368c6149a6 /swaybar
parent472e81f35d689d67cda241acafda91c688d61046 (diff)
parent8f490d7d2dbadfe85dcf3dcd972471e86671442a (diff)
downloadsway-7162b9bea4d66d61376ad3605e23e2d83bb95201.tar.xz
Merge pull request #1654 from acrisci/refactor-2-electric-boogaloo
Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
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..2d2b3b69 100644
--- a/swaybar/ipc.c
+++ b/swaybar/ipc.c
@@ -352,7 +352,7 @@ void ipc_bar_init(struct bar *bar, const char *bar_id) {
}
// add bar to the output
- struct output *bar_output = new_output(name);
+ struct output *bar_output = container_output_create(name);
bar_output->idx = i;
list_add(bar->outputs, bar_output);
}