aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-06 19:45:43 +0100
committeremersion <contact@emersion.fr>2017-12-06 19:45:43 +0100
commit8764dc26c634379ca5b5c2c4fc26cf8be9adf027 (patch)
tree8e6298c8d4c234eb0dc87d04e9093d7df1c5f6b8 /sway/tree/container.c
parent41dd29161249dd6b6c3288a2d4cf63763f40ce14 (diff)
Add new_output_config, update root container size on output hotplug
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index ec3311a0..d9bed7d8 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -93,6 +93,7 @@ swayc_t *new_output(struct sway_output *sway_output) {
sway_log(L_DEBUG, "Creating default workspace %s", ws_name);
new_workspace(output, ws_name);
free(ws_name);
+ update_root_geometry();
return output;
}