diff options
| author | Olivia Taliesin <Myrdden42@gmail.com> | 2022-02-15 14:46:12 -0700 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-09-29 17:27:01 +0200 |
| commit | 952c428482682122603e19a0d5a695572d9e54df (patch) | |
| tree | 937042cb23823cc05369149659d0ac8245d5b6b0 | |
| parent | 0299e0412aa8639f4c703ba8e626bd075a9bd7b8 (diff) | |
Removed destination-is-ancestor check from container_move_to_container to match i3 behaviour
(cherry picked from commit b6da218974d2e0508e7816f707fe0b1f1c97f0d6)
| -rw-r--r-- | sway/commands/move.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c index ad106c64..8891514c 100644 --- 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; } |
