diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-05-27 15:42:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-27 15:42:08 -0400 |
commit | 53a3fc63c5a81bc7c45f4ccfd770f9cfcec71398 (patch) | |
tree | b50d82b87555c64be2b40cd272ead08202b38445 | |
parent | Merge pull request #2056 from frsfnrrg/add-binding-locked (diff) | |
parent | Send workspace::move in container_output_destroy (diff) | |
download | sway-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
-rw-r--r-- | sway/tree/container.c | 1 |
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 | } |