From fd137c4f05004ed050bb547b37eb7d82bb107e9b Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Sun, 27 May 2018 12:22:11 -0400 Subject: Send workspace::move in container_output_destroy --- sway/tree/container.c | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3