]> git.sur5r.net Git - i3/i3/blobdiff - src/load_layout.c
Remove redundant depth argument from x_con_init(). (#2323)
[i3/i3] / src / load_layout.c
index 173e573b775f0cb9090a712f125d0ac4b9f3826b..863770b74742eb0f5480b7d5fb6f017b0317ecca 100644 (file)
@@ -150,7 +150,7 @@ static int json_end_map(void *ctx) {
         LOG("attaching\n");
         con_attach(json_node, json_node->parent, true);
         LOG("Creating window\n");
-        x_con_init(json_node, json_node->depth);
+        x_con_init(json_node);
         json_node = json_node->parent;
     }