Implement tiling drag

Hold floating_modifier and drag a tiling view to a new location.
This commit is contained in:
Ryan Dwyer 2018-09-11 21:34:21 +10:00
parent ec9c4de564
commit 8bb40c24c7
10 changed files with 274 additions and 6 deletions

View file

@ -235,7 +235,7 @@ static void container_move_to_container(struct sway_container *container,
container->saved_width = container->saved_height = 0;
if (destination->view) {
container_add_sibling(destination, container);
container_add_sibling(destination, container, 1);
} else {
container_add_child(destination, container);
}