aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-03-29 18:07:03 -0400
committerDrew DeVault <sir@cmpwn.com>2018-03-29 22:11:08 -0400
commit2719ddfe5e171881f3997f9f853bfca97fe01529 (patch)
tree83d27c24a9e9c0eb6d55e5884c28a3218b0315bd /sway/tree/container.c
parent5c9cdbcdd2a07e2ced7b60d629a3e20bd7c8bf68 (diff)
Spawn swaybars when outputs are added
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index bbafe9ec..64e2bdee 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -165,8 +165,8 @@ swayc_t *new_output(struct sway_output *sway_output) {
}
apply_output_config(oc, output);
-
add_child(&root_container, output);
+ load_swaybars();
// Create workspace
char *ws_name = workspace_next_name(output->name);