From: Michael Stapelberg Date: Tue, 1 Jun 2010 18:50:23 +0000 (+0200) Subject: ipc: include floating-nodes in tree reply X-Git-Tag: tree-pr1~202 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=712605e69ff9ed316bdd8bfb82e10ccc1d7ff94c;p=i3%2Fi3 ipc: include floating-nodes in tree reply --- 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) {