mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 16:36:26 +01:00
The default layout of a workspace should follow the output
Hardcoding it to L_HORIZ does not make sense to me, as you get the unexpected behaviour that windows will be arranged horizontally until you switch the layout.
This commit is contained in:
parent
0fa8b5abfb
commit
d7350915d9
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ swayc_t *new_workspace(swayc_t *output, const char *name) {
|
|||
swayc_t *workspace = new_swayc(C_WORKSPACE);
|
||||
|
||||
workspace->prev_layout = L_NONE;
|
||||
workspace->layout = L_HORIZ;
|
||||
workspace->layout = default_layout(output);
|
||||
workspace->workspace_layout = default_layout(output);
|
||||
|
||||
workspace->x = output->x;
|
||||
|
|
Loading…
Reference in a new issue