mirror of
https://github.com/swaywm/sway.git
synced 2024-12-01 10:56:36 +00:00
Merge pull request #3212 from martinetd/move_floating
move to workspace: fix moving floating container to non-empty workspace
This commit is contained in:
commit
5341e034df
|
@ -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 a new issue