aboutsummaryrefslogtreecommitdiff
path: root/swaybar
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-29 23:19:14 -0400
committerGitHub <noreply@github.com>2018-03-29 23:19:14 -0400
commit6b7841b11ff4cd35f54d69dc92029855893e5ce0 (patch)
tree88c2de0d08e00b2a30cb20cdfadfa6e53f5c59b4 /swaybar
parent3d29d833b133d48abfa87c1a79d8fbb507fd1426 (diff)
parent2778edef976a669dd0019ebb5327bcfeb4de13c5 (diff)
Merge pull request #1647 from acrisci/refactor-tree
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);
}