mirror of
https://github.com/swaywm/sway.git
synced 2025-11-05 13:29:51 -05:00
commands/move: unwrap workspace container on move to new workspace
If moving e.g. `T[app app]` into a new workspace with `workspace_layout tabbed`, then post-move the tree in that workspace will be `T[T[app app]]`. This still happens with horizontal or vertical workspace layout, but is less visible since those containers have no decorations. Fixes #5426.
This commit is contained in:
parent
105bf23998
commit
92891fb1ed
3 changed files with 25 additions and 3 deletions
|
|
@ -105,6 +105,9 @@ struct sway_container *workspace_find_container(struct sway_workspace *ws,
|
|||
*/
|
||||
struct sway_container *workspace_wrap_children(struct sway_workspace *ws);
|
||||
|
||||
void workspace_unwrap_children(struct sway_workspace *ws,
|
||||
struct sway_container *wrap);
|
||||
|
||||
void workspace_detach(struct sway_workspace *workspace);
|
||||
|
||||
void workspace_add_tiling(struct sway_workspace *workspace,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue