commit 87ccf189646cfc79db791ef9b81b5b3f0c2040b7 parent e8b179e313632c150ff7775f4f740296465cb58a Author: Ian Fan <ianfan0@gmail.com> Date: Fri, 13 Jul 2018 17:13:25 +0100 ipc: add workspace::init event Diffstat:
| M | sway/tree/container.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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"); } }