ipc: add workspace::init event

This commit is contained in:
Ian Fan 2018-07-13 17:13:25 +01:00
parent e8b179e313
commit 87ccf18964

View file

@ -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");
}
}