ipc: include floating-nodes in tree reply
This commit is contained in:
parent
a25dc3e988
commit
712605e69f
|
@ -168,6 +168,13 @@ void dump_node(yajl_gen gen, struct Con *con, bool inplace_restart) {
|
||||||
}
|
}
|
||||||
y(array_close);
|
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");
|
ystr("focus");
|
||||||
y(array_open);
|
y(array_open);
|
||||||
TAILQ_FOREACH(node, &(con->focus_head), nodes) {
|
TAILQ_FOREACH(node, &(con->focus_head), nodes) {
|
||||||
|
|
Loading…
Reference in New Issue