mirror of
https://github.com/swaywm/sway.git
synced 2025-11-10 13:29:51 -05:00
commands: fix layout implementation (also better name for previous split layout)
This commit is contained in:
parent
3a980857cb
commit
356063b6c0
4 changed files with 30 additions and 21 deletions
|
|
@ -59,7 +59,7 @@ struct sway_container *workspace_create(struct sway_container *output,
|
|||
workspace->width = output->width;
|
||||
workspace->height = output->height;
|
||||
workspace->name = !name ? NULL : strdup(name);
|
||||
workspace->prev_layout = L_NONE;
|
||||
workspace->prev_split_layout = L_NONE;
|
||||
workspace->layout = container_get_default_layout(output);
|
||||
|
||||
struct sway_workspace *swayws = calloc(1, sizeof(struct sway_workspace));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue