]> git.sur5r.net Git - i3/i3/commitdiff
Send change:empty too.
authorFernando Tarlá Cardoso Lemos <fernandotcl@gmail.com>
Sat, 20 Nov 2010 22:25:32 +0000 (20:25 -0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 21 Nov 2010 20:36:33 +0000 (21:36 +0100)
src/workspace.c

index 47a05eb85316c1309718ef4d5b6d3f8d6314dd0c..caa35c88f74262e03ee9a2384e923ee6f193f903 100644 (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\"}");
         }
     }