diff options
author | emersion <contact@emersion.fr> | 2018-05-21 11:24:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-21 11:24:05 +0100 |
commit | a7adbf4b79dce4d61de1a8a71cba535aeae6bc76 (patch) | |
tree | 68210775c09209884b46b5866ca1b4530ca24324 /sway/commands/layout.c | |
parent | ec1c4c6c3683772637dbfeaf5cdbaea4e1c6e49d (diff) | |
parent | 048b29527b8b0ec9c6cd9d0439b74bf73f4f6e2d (diff) |
Merge pull request #2005 from RyanDwyer/tabbed-layout
Implement tabbed layout
Diffstat (limited to 'sway/commands/layout.c')
-rw-r--r-- | sway/commands/layout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands/layout.c b/sway/commands/layout.c index bb36bb18..8aa321ae 100644 --- a/sway/commands/layout.c +++ b/sway/commands/layout.c @@ -39,6 +39,8 @@ struct cmd_results *cmd_layout(int argc, char **argv) { parent->layout = L_HORIZ; } else if (strcasecmp(argv[0], "splitv") == 0) { parent->layout = L_VERT; + } else if (strcasecmp(argv[0], "tabbed") == 0) { + parent->layout = L_TABBED; } else if (strcasecmp(argv[0], "toggle") == 0 && argc == 2 && strcasecmp(argv[1], "split") == 0) { if (parent->layout == L_HORIZ) { parent->layout = L_VERT; |