summaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-05-27 15:42:08 -0400
committerLibravatar GitHub <noreply@github.com>2018-05-27 15:42:08 -0400
commit53a3fc63c5a81bc7c45f4ccfd770f9cfcec71398 (patch)
treeb50d82b87555c64be2b40cd272ead08202b38445 /sway
parentMerge pull request #2056 from frsfnrrg/add-binding-locked (diff)
parentSend workspace::move in container_output_destroy (diff)
downloadsway-53a3fc63c5a81bc7c45f4ccfd770f9cfcec71398.tar.gz
sway-53a3fc63c5a81bc7c45f4ccfd770f9cfcec71398.tar.zst
sway-53a3fc63c5a81bc7c45f4ccfd770f9cfcec71398.zip
Merge pull request #2055 from RedSoxFan/output-destroy-workspace-ipc
Send workspace::move in container_output_destroy
Diffstat (limited to 'sway')
-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 }