Make splitting a container which was already split a noop

This commit is contained in:
Michael Stapelberg
2010-06-01 22:45:18 +02:00
parent 18f7e1ffd1
commit b467242d69
3 changed files with 12 additions and 2 deletions

View File

@ -41,6 +41,7 @@ Con *workspace_get(const char *num) {
workspace = con_new(output);
workspace->type = CT_WORKSPACE;
workspace->name = strdup(num);
workspace->orientation = HORIZ;
ipc_send_event("workspace", I3_IPC_EVENT_WORKSPACE, "{\"change\":\"init\"}");
}