diff options
Diffstat (limited to 'sway/commands/layout.c')
-rw-r--r-- | sway/commands/layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/layout.c b/sway/commands/layout.c index ff097fef..d04bb4dc 100644 --- a/sway/commands/layout.c +++ b/sway/commands/layout.c | |||
@@ -78,7 +78,7 @@ static struct cmd_results *cmd_layout_auto(swayc_t *container, int argc, char ** | |||
78 | struct cmd_results *error = NULL; | 78 | struct cmd_results *error = NULL; |
79 | const char *cmd_name = "layout auto"; | 79 | const char *cmd_name = "layout auto"; |
80 | const char *set_inc_cmd_name = "layout auto [master|ncol] [set|inc]"; | 80 | const char *set_inc_cmd_name = "layout auto [master|ncol] [set|inc]"; |
81 | const char *err_msg = "Allowed arguments are <right|left|top|bot|next|prev|master|ncol>"; | 81 | const char *err_msg = "Allowed arguments are <right|left|top|bottom|next|prev|master|ncol>"; |
82 | 82 | ||
83 | bool need_layout_update = false; | 83 | bool need_layout_update = false; |
84 | enum swayc_layouts old_layout = container->layout; | 84 | enum swayc_layouts old_layout = container->layout; |
@@ -90,7 +90,7 @@ static struct cmd_results *cmd_layout_auto(swayc_t *container, int argc, char ** | |||
90 | layout = L_AUTO_RIGHT; | 90 | layout = L_AUTO_RIGHT; |
91 | } else if (strcasecmp(argv[1], "top") == 0) { | 91 | } else if (strcasecmp(argv[1], "top") == 0) { |
92 | layout = L_AUTO_TOP; | 92 | layout = L_AUTO_TOP; |
93 | } else if (strcasecmp(argv[1], "bot") == 0) { | 93 | } else if (strcasecmp(argv[1], "bottom") == 0) { |
94 | layout = L_AUTO_BOTTOM; | 94 | layout = L_AUTO_BOTTOM; |
95 | } else if (strcasecmp(argv[1], "next") == 0) { | 95 | } else if (strcasecmp(argv[1], "next") == 0) { |
96 | if (is_auto_layout(container->layout) && container->layout < L_AUTO_LAST) { | 96 | if (is_auto_layout(container->layout) && container->layout < L_AUTO_LAST) { |