Removed destination-is-ancestor check from container_move_to_container to match i3 behaviour

master
Olivia Taliesin 3 years ago committed by Alexander Orzechowski
parent 861dde100a
commit b6da218974

@ -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;
}

Loading…
Cancel
Save