aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-03-29 23:15:39 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-03-29 23:15:39 -0400
commit2778edef976a669dd0019ebb5327bcfeb4de13c5 (patch)
tree6d9c1cecaa845590025f8354047e2986c3301092 /sway/commands
parentrename container_for_each_descendent (diff)
downloadsway-2778edef976a669dd0019ebb5327bcfeb4de13c5.tar.gz
sway-2778edef976a669dd0019ebb5327bcfeb4de13c5.tar.zst
sway-2778edef976a669dd0019ebb5327bcfeb4de13c5.zip
arrange windows
Diffstat (limited to 'sway/commands')
-rw-r--r--sway/commands/layout.c2
-rw-r--r--sway/commands/reload.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/layout.c b/sway/commands/layout.c
index e9cfeb8f..ebab2a48 100644
--- a/sway/commands/layout.c
+++ b/sway/commands/layout.c
@@ -50,7 +50,7 @@ struct cmd_results *cmd_layout(int argc, char **argv) {
50 } 50 }
51 } 51 }
52 52
53 container_arrange_windows(parent, parent->width, parent->height); 53 arrange_windows(parent, parent->width, parent->height);
54 54
55 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 55 return cmd_results_new(CMD_SUCCESS, NULL, NULL);
56} 56}
diff --git a/sway/commands/reload.c b/sway/commands/reload.c
index 83ecd75b..8cef789b 100644
--- a/sway/commands/reload.c
+++ b/sway/commands/reload.c
@@ -13,6 +13,6 @@ struct cmd_results *cmd_reload(int argc, char **argv) {
13 13
14 /* load_swaybars(); -- for when it's implemented */ 14 /* load_swaybars(); -- for when it's implemented */
15 15
16 container_arrange_windows(&root_container, -1, -1); 16 arrange_windows(&root_container, -1, -1);
17 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 17 return cmd_results_new(CMD_SUCCESS, NULL, NULL);
18} 18}