aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-02-23 14:25:09 +0100
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-02-27 22:12:35 +0100
commitbad4e22f3be658f8688f308e54a48b65c071a952 (patch)
treed4cbcd353d981d8fb1e0bb7eb4b78dc3aea023d8 /sway/commands.c
parent6d57f03028b4b32b4377d869be8de9a7e6aa55ee (diff)
Make sway spawn only one bar per bar config
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index c4b7f6ab..548b7d9f 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -1531,7 +1531,7 @@ static struct cmd_results *cmd_reload(int argc, char **argv) {
for (i = 0; i < root_container.children->length; ++i) {
cont = root_container.children->items[i];
if (cont->type == C_OUTPUT) {
- load_swaybars(cont, i);
+ load_swaybars(cont);
}
}