From 5c9a917df9453f0463040b1164ba639b430f7833 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Thu, 7 Jun 2018 19:36:16 -0400 Subject: Restore workspaces to outputs based on priority --- sway/tree/layout.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/tree/layout.c') 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); -- cgit v1.2.3-54-g00ecf