diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-07-13 17:13:25 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-08-01 16:57:14 +0100 |
commit | 87ccf189646cfc79db791ef9b81b5b3f0c2040b7 (patch) | |
tree | 187fb4f962248e0ddced3d3a272ec308921bd156 /sway/tree/container.c | |
parent | e8b179e313632c150ff7775f4f740296465cb58a (diff) |
ipc: add workspace::init event
Diffstat (limited to 'sway/tree/container.c')
-rw-r--r-- | sway/tree/container.c | 2 |
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"); } } |