mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
Implement tiling drag
Hold floating_modifier and drag a tiling view to a new location.
This commit is contained in:
parent
ec9c4de564
commit
8bb40c24c7
10 changed files with 274 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue