Preserve marks between restarts.

This commit is contained in:
Helgi Kristvin Sigurbjarnarson
2011-08-07 16:42:23 +00:00
committed by Michael Stapelberg
parent 96ed68de16
commit 3cc22dcbe4
2 changed files with 9 additions and 0 deletions

View File

@ -200,6 +200,11 @@ void dump_node(yajl_gen gen, struct Con *con, bool inplace_restart) {
ystr("urgent");
y(bool, con->urgent);
if (con->mark != NULL) {
ystr("mark");
ystr(con->mark);
}
ystr("focused");
y(bool, (con == focused));