This commit is contained in:
Furkan Sahin 2026-04-12 16:05:04 +01:00 committed by GitHub
commit 2dbe69b82a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -373,7 +373,7 @@ static void finalize_move(struct sway_seat *seat) {
enum sway_container_layout new_layout = edge == WLR_EDGE_TOP ||
edge == WLR_EDGE_BOTTOM ? L_VERT : L_HORIZ;
workspace_split(new_ws, new_layout);
workspace_insert_tiling(new_ws, con, after);
workspace_insert_tiling(new_ws, con, after ? new_ws->tiling->length : 0);
}
if (old_parent) {