aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-05-27 15:42:08 -0400
committerGitHub <noreply@github.com>2018-05-27 15:42:08 -0400
commit53a3fc63c5a81bc7c45f4ccfd770f9cfcec71398 (patch)
treeb50d82b87555c64be2b40cd272ead08202b38445 /sway/tree
parentc3b8c7cfb4f07f058a2c67b19e35baffbde929ad (diff)
parentfd137c4f05004ed050bb547b37eb7d82bb107e9b (diff)
Merge pull request #2055 from RedSoxFan/output-destroy-workspace-ipc
Send workspace::move in container_output_destroy
Diffstat (limited to 'sway/tree')
-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(
container_remove_child(workspace);
if (workspace->children->length > 0) {
container_add_child(other_output, workspace);
+ ipc_event_workspace(workspace, NULL, "move");
} else {
container_workspace_destroy(workspace);
}