From: Fernando Tarlá Cardoso Lemos Date: Sat, 20 Nov 2010 22:25:32 +0000 (-0200) Subject: Send change:empty too. X-Git-Tag: tree-pr1~73 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ae22fe065f64ab5b5421f731e3d1b6f39252021b;p=i3%2Fi3 Send change:empty too. --- diff --git a/src/workspace.c b/src/workspace.c index 47a05eb8..caa35c88 100644 --- a/src/workspace.c +++ b/src/workspace.c @@ -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\"}"); } }