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.
master
Jarkko Oranen 8 years ago
parent 0fa8b5abfb
commit d7350915d9

@ -218,7 +218,7 @@ swayc_t *new_workspace(swayc_t *output, const char *name) {
swayc_t *workspace = new_swayc(C_WORKSPACE); swayc_t *workspace = new_swayc(C_WORKSPACE);
workspace->prev_layout = L_NONE; workspace->prev_layout = L_NONE;
workspace->layout = L_HORIZ; workspace->layout = default_layout(output);
workspace->workspace_layout = default_layout(output); workspace->workspace_layout = default_layout(output);
workspace->x = output->x; workspace->x = output->x;

Loading…
Cancel
Save