ipc: fix workspace::move calls argument order

This commit is contained in:
Ian Fan 2018-07-18 10:47:44 +01:00
parent 07101a5707
commit 4bf253855f
3 changed files with 3 additions and 3 deletions

View file

@ -283,7 +283,7 @@ static struct sway_container *container_output_destroy(
container_remove_child(workspace);
if (!workspace_is_empty(workspace)) {
container_add_child(new_output, workspace);
ipc_event_workspace(workspace, NULL, "move");
ipc_event_workspace(NULL, workspace, "move");
} else {
container_destroy(workspace);
}