diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 14:15:40 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 14:15:40 -0400 |
commit | 357a4401fa117416f3182a5f91d27b52b114f3ee (patch) | |
tree | 8ffb68c96ac327aa2b37ec40bbf982022e934365 /sway/commands/split.c | |
parent | 2187684bd09928748f8b3a82c2e25e5ae82f5ae6 (diff) |
address feedback
Diffstat (limited to 'sway/commands/split.c')
-rw-r--r-- | sway/commands/split.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/split.c b/sway/commands/split.c index 6df20e88..fe4013e9 100644 --- a/sway/commands/split.c +++ b/sway/commands/split.c @@ -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 { |