diff options
author | Ryan Dwyer <[email protected]> | 2018-06-09 08:43:57 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2018-06-09 08:43:57 +1000 |
commit | 0b798ed9543d55bd39782c3a4a4bc1789acd40d3 (patch) | |
tree | 1ef7bdd44c5b7684e2c5e7118d5b7ffdda1e4ba6 /sway/tree/layout.c | |
parent | c65c84444e58404f951c628221b7485da0684f19 (diff) | |
parent | e2b2fb0a0e3e7db3046aeef485621ff3f490cd61 (diff) |
Merge pull request #2115 from RedSoxFan/restore-workspaces
Restore workspaces to output when re-enabled
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r-- | sway/tree/layout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c index b54dc2fe..6d4cd088 100644 --- a/sway/tree/layout.c +++ b/sway/tree/layout.c @@ -183,6 +183,8 @@ 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); + ipc_event_workspace(container, NULL, "move"); } container_notify_subtree_changed(old_parent); container_notify_subtree_changed(new_parent); |