summaryrefslogtreecommitdiff
path: root/sway/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/config.c')
-rw-r--r--sway/config.c3
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 @@
#include "log.h"
#include "commands.h"
#include "config.h"
+#include "layout.h"
struct sway_config *config;
@@ -227,6 +228,8 @@ _continue:
if (is_active) {
temp_config->reloading = false;
+ container_map(&root_container, reset_gaps, NULL);
+ arrange_windows(&root_container, -1, -1);
}
config = temp_config;