aboutsummaryrefslogtreecommitdiffstats
path: root/sway/input/seatop_move_tiling.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/input/seatop_move_tiling.c')
-rw-r--r--sway/input/seatop_move_tiling.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/seatop_move_tiling.c b/sway/input/seatop_move_tiling.c
index c7285bec..704e7270 100644
--- a/sway/input/seatop_move_tiling.c
+++ b/sway/input/seatop_move_tiling.c
@@ -247,7 +247,7 @@ static void finalize_move(struct sway_seat *seat) {
247 247
248 // Moving container into empty workspace 248 // Moving container into empty workspace
249 if (target_node->type == N_WORKSPACE && edge == WLR_EDGE_NONE) { 249 if (target_node->type == N_WORKSPACE && edge == WLR_EDGE_NONE) {
250 workspace_add_tiling(new_ws, con); 250 con = workspace_add_tiling(new_ws, con);
251 } else if (target_node->type == N_CONTAINER) { 251 } else if (target_node->type == N_CONTAINER) {
252 // Moving container before/after another 252 // Moving container before/after another
253 struct sway_container *target = target_node->sway_container; 253 struct sway_container *target = target_node->sway_container;