mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 21:14:10 +01:00
move to workspace: fix moving floating container to non-empty workspace
moving a container to a non-empty workspace will find a container to move to in the destination workspace and call container_move_to_container, which must not just skip floating containers
This commit is contained in:
parent
f737854e30
commit
2543834172
@ -216,6 +216,7 @@ static void container_move_to_container(struct sway_container *container,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (container_is_floating(container)) {
|
if (container_is_floating(container)) {
|
||||||
|
container_move_to_workspace(container, destination->workspace);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
struct sway_workspace *old_workspace = container->workspace;
|
struct sway_workspace *old_workspace = container->workspace;
|
||||||
|
Loading…
Reference in New Issue
Block a user