diff options
author | emersion <contact@emersion.fr> | 2018-04-29 13:44:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-29 13:44:37 +0100 |
commit | 78e3bc1329e865fe8df2da77693868f38380ab30 (patch) | |
tree | 472f59488b8ae77b5f296de8d17e5ba68d4407fb /sway/commands/reload.c | |
parent | 24ab66d123ab493feb3c2343cbc9d93625b668d7 (diff) | |
parent | 976e6b99b62891a72e48fca21b93708e060c134a (diff) |
Merge pull request #1854 from RyanDwyer/refactor-arrange-windows
Refactor arrange_windows()
Diffstat (limited to 'sway/commands/reload.c')
-rw-r--r-- | sway/commands/reload.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/reload.c b/sway/commands/reload.c index 5bca6cde..092dd46f 100644 --- a/sway/commands/reload.c +++ b/sway/commands/reload.c @@ -1,6 +1,6 @@ #include "sway/commands.h" #include "sway/config.h" -#include "sway/tree/layout.h" +#include "sway/tree/arrange.h" struct cmd_results *cmd_reload(int argc, char **argv) { struct cmd_results *error = NULL; @@ -12,6 +12,6 @@ struct cmd_results *cmd_reload(int argc, char **argv) { } load_swaybars(); - arrange_windows(&root_container, -1, -1); + arrange_root(); return cmd_results_new(CMD_SUCCESS, NULL, NULL); } |