mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
clean up container_get_default_layout
This commit is contained in:
parent
065887bb7b
commit
9b567fc37e
4 changed files with 15 additions and 7 deletions
|
|
@ -405,7 +405,7 @@ struct sway_container *container_workspace_create(struct sway_container *output,
|
|||
workspace->name = !name ? NULL : strdup(name);
|
||||
workspace->prev_layout = L_NONE;
|
||||
workspace->layout = container_get_default_layout(output);
|
||||
workspace->workspace_layout = container_get_default_layout(output);
|
||||
workspace->workspace_layout = workspace->layout;
|
||||
|
||||
container_add_child(output, workspace);
|
||||
container_sort_workspaces(output);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue