Bugfix: store and properly load workspace order when restarting

This commit is contained in:
Michael Stapelberg
2010-12-27 22:28:59 +01:00
parent c88c3e3ab2
commit dc3c633ee4
2 changed files with 15 additions and 2 deletions

View File

@ -201,6 +201,11 @@ void dump_node(yajl_gen gen, struct Con *con, bool inplace_restart) {
ystr("name");
ystr(con->name);
if (con->type == CT_WORKSPACE) {
ystr("num");
y(integer, con->num);
}
ystr("window");
if (con->window)
y(integer, con->window->id);