From abaa8c23564410ce4037ecb550b253a0e37bcbf0 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 26 Sep 2011 20:11:47 +0100 Subject: [PATCH] Bugfix: IPC: Correctly dump the 'focus' array --- src/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5