Switch restore workspaces to a nested for-loop

This commit is contained in:
Brian Ashworth 2018-06-08 13:06:29 -04:00
parent 5c9a917df9
commit e2b2fb0a0e
3 changed files with 22 additions and 21 deletions

View file

@ -184,6 +184,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);
ipc_event_workspace(container, NULL, "move");
}
container_notify_subtree_changed(old_parent);
container_notify_subtree_changed(new_parent);