=== workspace event
This event consists of a single serialized map containing a property
-+change (string)+ which indicates the type of the change ("focus", "init",
-"empty", "urgent").
++change (string)+ which indicates the type of the change ("focus", "create",
+"init", "empty", "urgent").
*Example:*
---------------------
TAILQ_INSERT_TAIL(workspaces, ws, workspaces);
- ipc_send_event("workspace", I3_IPC_EVENT_WORKSPACE, "{\"change\":\"init\"}");
+ ipc_send_event("workspace", I3_IPC_EVENT_WORKSPACE, "{\"change\":\"create\"}");
}
DLOG("done\n");
return;
workspace_assign_to(ws, ws->output, false);
+
+ ipc_send_event("workspace", I3_IPC_EVENT_WORKSPACE, "{\"change\":\"init\"}");
}
/*