ipc: make 'focused' a bool

This commit is contained in:
Michael Stapelberg
2011-07-24 15:00:09 +02:00
parent b09bb0fc2a
commit 34eb9b2664
4 changed files with 6 additions and 6 deletions

View File

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