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

@ -529,7 +529,7 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface) {
view->container = container_create(view);
if (target_sibling) {
container_add_sibling(target_sibling, view->container);
container_add_sibling(target_sibling, view->container, 1);
} else {
workspace_add_tiling(ws, view->container);
}