mirror of
https://github.com/swaywm/sway.git
synced 2026-04-03 07:15:39 -04:00
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.
This commit is contained in:
parent
b4850876dc
commit
ece6a1d408
8 changed files with 51 additions and 35 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue