@ -243,6 +243,9 @@ void dump_node(yajl_gen gen, struct Con *con, bool inplace_restart) {
dump_rect(gen, "geometry", con->geometry);
ystr("name");
if (con->window && con->window->name_json)
ystr(con->window->name_json);
else
ystr(con->name);
if (con->type == CT_WORKSPACE) {