forked from enlightenment/enlightenment
Tiling2: Allow not finding a parent if it's the first window.
This commit is contained in:
parent
5ad0edeb84
commit
4c590afe7e
|
@ -1260,8 +1260,11 @@ _add_client(E_Client *ec)
|
|||
Window_Tree *new_node;
|
||||
if (!parent)
|
||||
{
|
||||
ERR("Couldn't find tree item for focused client %p. Using root..",
|
||||
e_client_focused_get());
|
||||
if (_G.tinfo->tree)
|
||||
{
|
||||
ERR("Couldn't find tree item for focused client %p. Using root..",
|
||||
e_client_focused_get());
|
||||
}
|
||||
parent = _G.tinfo->tree;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue