diff options
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index 637e2dbc..be9f70c1 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -8,6 +8,7 @@ | |||
8 | #include "log.h" | 8 | #include "log.h" |
9 | #include "commands.h" | 9 | #include "commands.h" |
10 | #include "config.h" | 10 | #include "config.h" |
11 | #include "layout.h" | ||
11 | 12 | ||
12 | struct sway_config *config; | 13 | struct sway_config *config; |
13 | 14 | ||
@@ -227,6 +228,8 @@ _continue: | |||
227 | 228 | ||
228 | if (is_active) { | 229 | if (is_active) { |
229 | temp_config->reloading = false; | 230 | temp_config->reloading = false; |
231 | container_map(&root_container, reset_gaps, NULL); | ||
232 | arrange_windows(&root_container, -1, -1); | ||
230 | } | 233 | } |
231 | config = temp_config; | 234 | config = temp_config; |
232 | 235 | ||