aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-07-18 10:47:44 +0100
committerIan Fan <ianfan0@gmail.com>2018-08-01 16:57:15 +0100
commit4bf253855f1946ffca5a41085b8ae3eb79ca62c4 (patch)
tree4a05ba93c48d1952bf447da073681608eca9f286 /sway/tree/container.c
parent07101a570750f47fa5d4fb81739a40168b6c8ea6 (diff)
downloadsway-4bf253855f1946ffca5a41085b8ae3eb79ca62c4.tar.xz
ipc: fix workspace::move calls argument order
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 92d9ce06..b6ff4d30 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -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);
}