From 6e32e6123dbc913c77c0bd576ec11644730bd027 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 12 May 2011 07:22:17 +0200 Subject: [PATCH] Bugfix: Ignore focus when attaching cons while restoring the layout Fixes: #369 --- src/load_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5