ipc: include floating-nodes in tree reply

This commit is contained in:
Michael Stapelberg 2010-06-01 20:50:23 +02:00
parent a25dc3e988
commit 712605e69f
1 changed files with 7 additions and 0 deletions

View File

@ -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) {