aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/layout.c
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-07-18 10:47:44 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-08-01 16:57:15 +0100
commit4bf253855f1946ffca5a41085b8ae3eb79ca62c4 (patch)
tree4a05ba93c48d1952bf447da073681608eca9f286 /sway/tree/layout.c
parentipc: only emit window::create event for views (diff)
downloadsway-4bf253855f1946ffca5a41085b8ae3eb79ca62c4.tar.gz
sway-4bf253855f1946ffca5a41085b8ae3eb79ca62c4.tar.zst
sway-4bf253855f1946ffca5a41085b8ae3eb79ca62c4.zip
ipc: fix workspace::move calls argument order
Diffstat (limited to 'sway/tree/layout.c')
-rw-r--r--sway/tree/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/layout.c b/sway/tree/layout.c
index a0764a54..b833e8e1 100644
--- a/sway/tree/layout.c
+++ b/sway/tree/layout.c
@@ -217,7 +217,7 @@ void container_move_to(struct sway_container *container,
217 container_sort_workspaces(new_parent); 217 container_sort_workspaces(new_parent);
218 seat_set_focus(seat, new_parent); 218 seat_set_focus(seat, new_parent);
219 workspace_output_raise_priority(container, old_parent, new_parent); 219 workspace_output_raise_priority(container, old_parent, new_parent);
220 ipc_event_workspace(container, NULL, "move"); 220 ipc_event_workspace(NULL, container, "move");
221 } 221 }
222 container_notify_subtree_changed(old_parent); 222 container_notify_subtree_changed(old_parent);
223 container_notify_subtree_changed(new_parent); 223 container_notify_subtree_changed(new_parent);