aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree
diff options
context:
space:
mode:
authorLibravatar Ian Fan <ianfan0@gmail.com>2018-07-13 17:13:25 +0100
committerLibravatar Ian Fan <ianfan0@gmail.com>2018-08-01 16:57:14 +0100
commit87ccf189646cfc79db791ef9b81b5b3f0c2040b7 (patch)
tree187fb4f962248e0ddced3d3a272ec308921bd156 /sway/tree
parentipc: add shutdown event (diff)
downloadsway-87ccf189646cfc79db791ef9b81b5b3f0c2040b7.tar.gz
sway-87ccf189646cfc79db791ef9b81b5b3f0c2040b7.tar.zst
sway-87ccf189646cfc79db791ef9b81b5b3f0c2040b7.zip
ipc: add workspace::init event
Diffstat (limited to 'sway/tree')
-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) {
64 64
65 if (container->type == C_VIEW || container->type == C_CONTAINER) { 65 if (container->type == C_VIEW || container->type == C_CONTAINER) {
66 ipc_event_window(container, "new"); 66 ipc_event_window(container, "new");
67 } else if (container->type == C_WORKSPACE) {
68 ipc_event_workspace(NULL, container, "init");
67 } 69 }
68} 70}
69 71