address feedback

This commit is contained in:
Tony Crisci 2018-04-02 14:15:40 -04:00
parent 2187684bd0
commit 357a4401fa
4 changed files with 4 additions and 5 deletions

View file

@ -76,6 +76,7 @@ struct cmd_results *cmd_split(int argc, char **argv) {
strcasecmp(argv[0], "toggle") == 0) {
struct sway_container *focused =
config->handler_context.current_container;
if (focused->parent->layout == L_VERT) {
_do_split(argc - 1, argv + 1, L_HORIZ);
} else {