mirror of
https://github.com/swaywm/sway.git
synced 2024-12-30 17:06:40 +01:00
commands: when moving container, remove its gaps
This commit is contained in:
parent
c770949a9f
commit
ae535396b0
1 changed files with 1 additions and 0 deletions
|
@ -231,6 +231,7 @@ static void container_move_to_container(struct sway_container *container,
|
||||||
struct sway_workspace *old_workspace = container->workspace;
|
struct sway_workspace *old_workspace = container->workspace;
|
||||||
|
|
||||||
container_detach(container);
|
container_detach(container);
|
||||||
|
container_remove_gaps(container);
|
||||||
container->width = container->height = 0;
|
container->width = container->height = 0;
|
||||||
container->saved_width = container->saved_height = 0;
|
container->saved_width = container->saved_height = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue