aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/reload.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-29 13:44:37 +0100
committerGitHub <noreply@github.com>2018-04-29 13:44:37 +0100
commit78e3bc1329e865fe8df2da77693868f38380ab30 (patch)
tree472f59488b8ae77b5f296de8d17e5ba68d4407fb /sway/commands/reload.c
parent24ab66d123ab493feb3c2343cbc9d93625b668d7 (diff)
parent976e6b99b62891a72e48fca21b93708e060c134a (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.c4
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);
}