ipc: add member 'focused' to every container

This commit is contained in:
Michael Stapelberg 2010-07-04 22:17:18 +02:00
parent 66480d3725
commit 1a0fcea48e
1 changed files with 3 additions and 0 deletions

View File

@ -140,6 +140,9 @@ void dump_node(yajl_gen gen, struct Con *con, bool inplace_restart) {
ystr("urgent"); ystr("urgent");
y(integer, con->urgent); y(integer, con->urgent);
ystr("focused");
y(integer, (con == focused));
ystr("layout"); ystr("layout");
y(integer, con->layout); y(integer, con->layout);