mirror of
https://github.com/swaywm/sway.git
synced 2025-11-16 06:59:49 -05:00
Removed debugging, added in proper gap resets for config reloads
This commit is contained in:
parent
ab5805ca6e
commit
f718556a85
3 changed files with 21 additions and 14 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue