Send change:empty too.

This commit is contained in:
Fernando Tarlá Cardoso Lemos 2010-11-20 20:25:32 -02:00 committed by Michael Stapelberg
parent e2517bd48c
commit ae22fe065f
1 changed files with 1 additions and 0 deletions

View File

@ -210,6 +210,7 @@ void workspace_show(const char *num) {
if (!workspace_is_visible(old)) {
LOG("Closing old workspace (%p / %s), it is empty\n", old, old->name);
tree_close(old, false, false);
ipc_send_event("workspace", I3_IPC_EVENT_WORKSPACE, "{\"change\":\"empty\"}");
}
}