From 1a0fcea48eb7b9fd3fe72443ab6301dddee0aeee Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 4 Jul 2010 22:17:18 +0200 Subject: [PATCH] ipc: add member 'focused' to every container --- src/ipc.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.5