diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-11 21:34:21 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-09-11 21:34:21 +1000 |
commit | 8bb40c24c7b045df0d43e9f22c096d1473f6f9f6 (patch) | |
tree | 0c4dbac1173f92337e2cff63d45c7d8fe7a3557f /sway/commands/move.c | |
parent | Introduce tiling_drag directive (diff) | |
download | sway-8bb40c24c7b045df0d43e9f22c096d1473f6f9f6.tar.gz sway-8bb40c24c7b045df0d43e9f22c096d1473f6f9f6.tar.zst sway-8bb40c24c7b045df0d43e9f22c096d1473f6f9f6.zip |
Implement tiling drag
Hold floating_modifier and drag a tiling view to a new location.
Diffstat (limited to 'sway/commands/move.c')
-rw-r--r-- | sway/commands/move.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c index 2e9c00f8..b2cca5be 100644 --- a/sway/commands/move.c +++ b/sway/commands/move.c | |||
@@ -235,7 +235,7 @@ static void container_move_to_container(struct sway_container *container, | |||
235 | container->saved_width = container->saved_height = 0; | 235 | container->saved_width = container->saved_height = 0; |
236 | 236 | ||
237 | if (destination->view) { | 237 | if (destination->view) { |
238 | container_add_sibling(destination, container); | 238 | container_add_sibling(destination, container, 1); |
239 | } else { | 239 | } else { |
240 | container_add_child(destination, container); | 240 | container_add_child(destination, container); |
241 | } | 241 | } |