Tiling2: if can't find the parent, pass NULL, not the root.

This commit is contained in:
Tom Hacohen 2014-01-16 12:39:12 +00:00
parent 052a13b462
commit 3804d5165a
1 changed files with 0 additions and 1 deletions

View File

@ -472,7 +472,6 @@ _add_client(E_Client *ec)
ERR("Couldn't find tree item for focused client %p. Using root..",
e_client_focused_get());
}
parent = _G.tinfo->tree;
}
_G.tinfo->tree = tiling_window_tree_add(_G.tinfo->tree, parent, ec, _G.split_type);