From f718556a850a5c2bff6a00729c11f630c4b9c00f Mon Sep 17 00:00:00 2001 From: Luminarys Date: Tue, 18 Aug 2015 21:05:58 -0500 Subject: Removed debugging, added in proper gap resets for config reloads --- sway/config.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sway/config.c') 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; -- cgit v1.2.3