aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-06-07 19:36:16 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-06-08 13:08:00 -0400
commit5c9a917df9453f0463040b1164ba639b430f7833 (patch)
tree581a2b3056df2625de3d6dbcbb970b20fff260cb /sway/tree/layout.c
parentMerge pull request #2121 from martinetd/swaylock-ctrl-u (diff)
downloadsway-5c9a917df9453f0463040b1164ba639b430f7833.tar.gz
sway-5c9a917df9453f0463040b1164ba639b430f7833.tar.zst
sway-5c9a917df9453f0463040b1164ba639b430f7833.zip
Restore workspaces to outputs based on priority
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,
183 } 183 }
184 container_sort_workspaces(new_parent); 184 container_sort_workspaces(new_parent);
185 seat_set_focus(seat, new_parent); 185 seat_set_focus(seat, new_parent);
186 workspace_output_raise_priority(container, old_parent, new_parent);
186 } 187 }
187 container_notify_subtree_changed(old_parent); 188 container_notify_subtree_changed(old_parent);
188 container_notify_subtree_changed(new_parent); 189 container_notify_subtree_changed(new_parent);