diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2022-02-15 14:46:12 -0700 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2022-02-15 14:46:12 -0700 |
| commit | 20cf956bbf2aef401762ac71812aba9d995970ef (patch) | |
| tree | e02febd8990cfd0366eb876055d2e75e62bfc71a | |
| parent | f4c9bd821d37dce7264ea56dbeb8a4fe8613665b (diff) | |
Removed destination-is-ancestor check from container_move_to_container to match i3 behaviour
| -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; } |
