From 712605e69ff9ed316bdd8bfb82e10ccc1d7ff94c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 1 Jun 2010 20:50:23 +0200 Subject: [PATCH] ipc: include floating-nodes in tree reply --- src/ipc.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ipc.c b/src/ipc.c index e757ed22..1ca0778b 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -168,6 +168,13 @@ void dump_node(yajl_gen gen, struct Con *con, bool inplace_restart) { } y(array_close); + ystr("floating-nodes"); + y(array_open); + TAILQ_FOREACH(node, &(con->floating_head), floating_windows) { + dump_node(gen, node, inplace_restart); + } + y(array_close); + ystr("focus"); y(array_open); TAILQ_FOREACH(node, &(con->focus_head), nodes) { -- 2.39.5