aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/container.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-27 12:22:11 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-27 12:27:18 -0400
commitfd137c4f05004ed050bb547b37eb7d82bb107e9b (patch)
treee2ed1dab0e2c88e2804be7a917c427c9f371715d /sway/tree/container.c
parentMerge pull request #2052 from emersion/output-destroy-empty-workspace (diff)
downloadsway-fd137c4f05004ed050bb547b37eb7d82bb107e9b.tar.gz
sway-fd137c4f05004ed050bb547b37eb7d82bb107e9b.tar.zst
sway-fd137c4f05004ed050bb547b37eb7d82bb107e9b.zip
Send workspace::move in container_output_destroy
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r--sway/tree/container.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 8694eb33..a4798c7e 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -244,6 +244,7 @@ static struct sway_container *container_output_destroy(
244 container_remove_child(workspace); 244 container_remove_child(workspace);
245 if (workspace->children->length > 0) { 245 if (workspace->children->length > 0) {
246 container_add_child(other_output, workspace); 246 container_add_child(other_output, workspace);
247 ipc_event_workspace(workspace, NULL, "move");
247 } else { 248 } else {
248 container_workspace_destroy(workspace); 249 container_workspace_destroy(workspace);
249 } 250 }