mirror of
https://github.com/swaywm/sway.git
synced 2025-11-04 13:29:52 -05:00
address feedback
This commit is contained in:
parent
2187684bd0
commit
357a4401fa
4 changed files with 4 additions and 5 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue