diff options
Diffstat (limited to 'sway/commands/layout.c')
-rw-r--r-- | sway/commands/layout.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/commands/layout.c b/sway/commands/layout.c index bb36bb18..58728f16 100644 --- a/sway/commands/layout.c +++ b/sway/commands/layout.c | |||
@@ -39,6 +39,10 @@ struct cmd_results *cmd_layout(int argc, char **argv) { | |||
39 | parent->layout = L_HORIZ; | 39 | parent->layout = L_HORIZ; |
40 | } else if (strcasecmp(argv[0], "splitv") == 0) { | 40 | } else if (strcasecmp(argv[0], "splitv") == 0) { |
41 | parent->layout = L_VERT; | 41 | parent->layout = L_VERT; |
42 | } else if (strcasecmp(argv[0], "tabbed") == 0) { | ||
43 | parent->layout = L_TABBED; | ||
44 | } else if (strcasecmp(argv[0], "stacking") == 0) { | ||
45 | parent->layout = L_STACKED; | ||
42 | } else if (strcasecmp(argv[0], "toggle") == 0 && argc == 2 && strcasecmp(argv[1], "split") == 0) { | 46 | } else if (strcasecmp(argv[0], "toggle") == 0 && argc == 2 && strcasecmp(argv[1], "split") == 0) { |
43 | if (parent->layout == L_HORIZ) { | 47 | if (parent->layout == L_HORIZ) { |
44 | parent->layout = L_VERT; | 48 | parent->layout = L_VERT; |