diff options
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c index 4db93ce8..c686401c 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -160,8 +160,11 @@ struct sway_container *container_output_create( | |||
160 | return NULL; | 160 | return NULL; |
161 | } | 161 | } |
162 | 162 | ||
163 | apply_output_config(oc, output); | 163 | // Insert the child before applying config so that the container coordinates |
164 | // get updated | ||
164 | container_add_child(&root_container, output); | 165 | container_add_child(&root_container, output); |
166 | apply_output_config(oc, output); | ||
167 | |||
165 | load_swaybars(); | 168 | load_swaybars(); |
166 | 169 | ||
167 | // Create workspace | 170 | // Create workspace |