]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: IPC: Correctly dump the 'focus' array
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 26 Sep 2011 19:11:47 +0000 (20:11 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 26 Sep 2011 19:11:47 +0000 (20:11 +0100)
src/ipc.c

index 5f4d59cc48632e4c9ff5f41474756893fc435691..e03bdcbd07ccdc712a6c5e90459cf58b810a90b1 100644 (file)
--- a/src/ipc.c
+++ b/src/ipc.c
@@ -279,7 +279,7 @@ void dump_node(yajl_gen gen, struct Con *con, bool inplace_restart) {
 
     ystr("focus");
     y(array_open);
-    TAILQ_FOREACH(node, &(con->focus_head), nodes) {
+    TAILQ_FOREACH(node, &(con->focus_head), focused) {
         y(integer, (long int)node);
     }
     y(array_close);