Bugfix: Ignore focus when attaching cons while restoring the layout

Fixes: #369
This commit is contained in:
Michael Stapelberg 2011-05-12 07:22:17 +02:00
parent 94646190aa
commit 6e32e6123d
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ static int json_end_map(void *ctx) {
LOG("end of map\n");
if (!parsing_swallows && !parsing_rect && !parsing_window_rect && !parsing_geometry) {
LOG("attaching\n");
con_attach(json_node, json_node->parent, false);
con_attach(json_node, json_node->parent, true);
json_node = json_node->parent;
}
if (parsing_rect)