diff options
-rw-r--r-- | sway/tree/container.c | 2 | ||||
-rw-r--r-- | sway/tree/layout.c | 2 | ||||
-rw-r--r-- | sway/tree/output.c | 2 |
3 files changed, 3 insertions, 3 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( | |||
283 | container_remove_child(workspace); | 283 | container_remove_child(workspace); |
284 | if (!workspace_is_empty(workspace)) { | 284 | if (!workspace_is_empty(workspace)) { |
285 | container_add_child(new_output, workspace); | 285 | container_add_child(new_output, workspace); |
286 | ipc_event_workspace(workspace, NULL, "move"); | 286 | ipc_event_workspace(NULL, workspace, "move"); |
287 | } else { | 287 | } else { |
288 | container_destroy(workspace); | 288 | container_destroy(workspace); |
289 | } | 289 | } |
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); |
diff --git a/sway/tree/output.c b/sway/tree/output.c index da535c18..31e3bf9b 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c | |||
@@ -22,7 +22,7 @@ static void restore_workspaces(struct sway_container *output) { | |||
22 | if (highest == output) { | 22 | if (highest == output) { |
23 | container_remove_child(ws); | 23 | container_remove_child(ws); |
24 | container_add_child(output, ws); | 24 | container_add_child(output, ws); |
25 | ipc_event_workspace(ws, NULL, "move"); | 25 | ipc_event_workspace(NULL, ws, "move"); |
26 | j--; | 26 | j--; |
27 | } | 27 | } |
28 | } | 28 | } |