From: Michael Stapelberg Date: Thu, 12 May 2011 05:22:17 +0000 (+0200) Subject: Bugfix: Ignore focus when attaching cons while restoring the layout X-Git-Tag: tree-pr3~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6e32e6123dbc913c77c0bd576ec11644730bd027;p=i3%2Fi3 Bugfix: Ignore focus when attaching cons while restoring the layout Fixes: #369 --- diff --git a/src/load_layout.c b/src/load_layout.c index c5b6bcf1..7e57e94d 100644 --- a/src/load_layout.c +++ b/src/load_layout.c @@ -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)