diff options
author | Ronan Pigott <[email protected]> | 2020-10-25 14:20:11 -0700 |
---|---|---|
committer | Tudor Brindus <[email protected]> | 2020-12-20 00:58:42 -0500 |
commit | ece6a1d408456ade74c88dee7d4b9e0491f0bdaf (patch) | |
tree | 09f5a40a02347c927a91ab66da6c794cfd787c97 /sway/tree/output.c | |
parent | b4850876dc609830575531fd6e0ca696c956ae94 (diff) |
Change workspace_layout to match i3 behavior
In i3, the workspace_layout command does not affect the
workspace layout. Instead, new workspace level containers
are wrapped in the desired layout and the workspace layout
always defaults to the output orientation.
Diffstat (limited to 'sway/tree/output.c')
-rw-r--r-- | sway/tree/output.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sway/tree/output.c b/sway/tree/output.c index f15a84b3..a8ae30f7 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c @@ -395,9 +395,6 @@ void output_get_box(struct sway_output *output, struct wlr_box *box) { enum sway_container_layout output_get_default_layout( struct sway_output *output) { - if (config->default_layout != L_NONE) { - return config->default_layout; - } if (config->default_orientation != L_NONE) { return config->default_orientation; } |