]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Ignore focus when attaching cons while restoring the layout
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 12 May 2011 05:22:17 +0000 (07:22 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 12 May 2011 05:22:17 +0000 (07:22 +0200)
Fixes: #369
src/load_layout.c

index c5b6bcf11903e4df77751c0b05792845f5bf562a..7e57e94dde56a6308e479eaa3fdc69bb65a34337 100644 (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)