summaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 12d60854..ce1fe8a3 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -1760,9 +1760,8 @@ static struct cmd_results *cmd_layout(int argc, char **argv) {
1760 } 1760 }
1761 1761
1762 if (strcasecmp(argv[0], "default") == 0) { 1762 if (strcasecmp(argv[0], "default") == 0) {
1763 // TODO: determine default from default_orientation and 1763 swayc_t *output = swayc_parent_by_type(parent, C_OUTPUT);
1764 // cmd_workspace_layout 1764 parent->layout = default_layout(output);
1765 parent->layout = L_HORIZ;
1766 } else if (strcasecmp(argv[0], "tabbed") == 0) { 1765 } else if (strcasecmp(argv[0], "tabbed") == 0) {
1767 if (parent->type != C_CONTAINER) { 1766 if (parent->type != C_CONTAINER) {
1768 parent = new_container(parent, L_TABBED); 1767 parent = new_container(parent, L_TABBED);