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

View File

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