Tiling: Fix up previous tiling commit (make it safer).

This is the second time recently I forgot to merge commits. :(
This commit is contained in:
Tom Hacohen 2014-11-03 14:45:03 +00:00
parent ca1a531c78
commit c702763df7
1 changed files with 4 additions and 1 deletions

View File

@ -591,7 +591,10 @@ _tiling_window_tree_node_join(Window_Tree *root, Window_Tree *node, Eina_Bool di
if (!pn)
{
if (node->parent && node->parent->parent && node->parent->parent->parent)
_tiling_window_tree_node_break_out(root, node, node->parent->parent->parent, dir);
{
_tiling_window_tree_node_break_out(root, node, node->parent->parent->parent, dir);
}
return;
}