Skip to content

Commit

Permalink
Removed destination-is-ancestor check from container_move_to_containe…
Browse files Browse the repository at this point in the history
…r to match i3 behaviour
  • Loading branch information
Myrdden authored and ccdunder committed Sep 21, 2024
1 parent e9dd218 commit 5d8201d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sway/commands/move.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5d8201d

Please sign in to comment.