commit b6da218974d2e0508e7816f707fe0b1f1c97f0d6
parent 861dde100ab5536bea190b078c6c51adb6814be5
Author: Olivia Taliesin <Myrdden42@gmail.com>
Date: Tue, 15 Feb 2022 14:46:12 -0700
Removed destination-is-ancestor check from container_move_to_container to match i3 behaviour
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/sway/commands/move.c b/sway/commands/move.c
@@ -240,7 +240,6 @@ static void container_move_to_workspace(struct sway_container *container,
static void container_move_to_container(struct sway_container *container,
struct sway_container *destination) {
if (container == destination
- || container_has_ancestor(container, destination)
|| container_has_ancestor(destination, container)) {
return;
}