From: Michael Stapelberg Date: Mon, 26 Sep 2011 19:11:47 +0000 (+0100) Subject: Bugfix: IPC: Correctly dump the 'focus' array X-Git-Tag: 4.1~134^2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=abaa8c23564410ce4037ecb550b253a0e37bcbf0;p=i3%2Fi3 Bugfix: IPC: Correctly dump the 'focus' array --- diff --git a/src/ipc.c b/src/ipc.c index 5f4d59cc..e03bdcbd 100644 --- 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);