efl_ui_focus_manager_calc: a node from focus_stack is always normal node.

Summary:
focus_stack can't store logical node. we don't need to check a node from
focus_stack is not normal.
see line 1613

Reviewers: bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5927
This commit is contained in:
YeongJong Lee 2018-04-12 14:35:55 +02:00 committed by Marcel Hollerbach
parent 4841165530
commit 35e7b36411
1 changed files with 1 additions and 12 deletions

View File

@ -1023,21 +1023,10 @@ _efl_ui_focus_manager_calc_unregister(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_
n = eina_list_nth(pd->focus_stack, eina_list_count(pd->focus_stack) - 2);
if (!n)
{
n = _request_subchild_except(pd->root, node);
}
else if (n->type != NODE_TYPE_NORMAL)
{
n = _request_subchild_except(n, node);
if (!n)
{
n = _request_subchild_except(pd->root, node);
}
}
n = _request_subchild_except(pd->root, node);
if (n)
efl_ui_focus_manager_focus_set(obj, n->focusable);
}
}