diff options
author | wil <william.barsse@gmail.com> | 2017-01-14 19:34:04 +0100 |
---|---|---|
committer | wil <william.barsse@gmail.com> | 2017-01-14 19:41:00 +0100 |
commit | 71b386964afa553cb2386a06304bfe55cdc25aa1 (patch) | |
tree | afcca444fa5acb2a267ee7e573e684a965ee3f2a /sway/commands/layout.c | |
parent | Improved behavior of insert/remove child in auto layouts (diff) | |
download | sway-71b386964afa553cb2386a06304bfe55cdc25aa1.tar.gz sway-71b386964afa553cb2386a06304bfe55cdc25aa1.tar.zst sway-71b386964afa553cb2386a06304bfe55cdc25aa1.zip |
replaced "bot" with "bottom" in auto layout commands
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) { |