From: Michael Stapelberg Date: Sun, 4 Jul 2010 20:17:18 +0000 (+0200) Subject: ipc: add member 'focused' to every container X-Git-Tag: tree-pr1~160 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1a0fcea48eb7b9fd3fe72443ab6301dddee0aeee;p=i3%2Fi3 ipc: add member 'focused' to every container --- diff --git a/src/ipc.c b/src/ipc.c index bde24852..7c0a0f37 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -140,6 +140,9 @@ void dump_node(yajl_gen gen, struct Con *con, bool inplace_restart) { ystr("urgent"); y(integer, con->urgent); + ystr("focused"); + y(integer, (con == focused)); + ystr("layout"); y(integer, con->layout);