aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sway/tree/container.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 4e85021d..f082e8b1 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -64,6 +64,8 @@ void container_create_notify(struct sway_container *container) {
if (container->type == C_VIEW || container->type == C_CONTAINER) {
ipc_event_window(container, "new");
+ } else if (container->type == C_WORKSPACE) {
+ ipc_event_workspace(NULL, container, "init");
}
}