diff options
author | Brian Ashworth <[email protected]> | 2018-06-07 19:36:16 -0400 |
---|---|---|
committer | Brian Ashworth <[email protected]> | 2018-06-08 13:08:00 -0400 |
commit | 5c9a917df9453f0463040b1164ba639b430f7833 (patch) | |
tree | 581a2b3056df2625de3d6dbcbb970b20fff260cb /sway/tree/layout.c | |
parent | c65c84444e58404f951c628221b7485da0684f19 (diff) |
Restore workspaces to outputs based on priority
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r-- | sway/tree/layout.c | 1 |
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); |