aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r--sway/tree/layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index b54dc2fe..fc17d8c3 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -183,6 +183,7 @@ void container_move_to(struct sway_container *container,
}
container_sort_workspaces(new_parent);
seat_set_focus(seat, new_parent);
+ workspace_output_raise_priority(container, old_parent, new_parent);
}
container_notify_subtree_changed(old_parent);
container_notify_subtree_changed(new_parent);