mirror of
https://github.com/swaywm/sway.git
synced 2026-04-18 06:46:56 -04:00
Fix moving a container to an empty workspace
When a container with children is moved to a different workspace its layout should not change, but currently if the destination workspace is empty, each child of the container gets "split" (wrapped in a tabbing / stacking container) if the `workspace_layout` option is not default.
This commit is contained in:
parent
ebf441b359
commit
bf30257c1e
3 changed files with 5 additions and 2 deletions
|
|
@ -113,6 +113,9 @@ void workspace_detach(struct sway_workspace *workspace);
|
|||
struct sway_container *workspace_add_tiling(struct sway_workspace *workspace,
|
||||
struct sway_container *con);
|
||||
|
||||
void workspace_attach_tiling(struct sway_workspace *ws,
|
||||
struct sway_container *con);
|
||||
|
||||
void workspace_add_floating(struct sway_workspace *workspace,
|
||||
struct sway_container *con);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue