efl_ui_focus_manager: unfocus even logical elements

entry for example is here a specialcase since it registeres itself as
logical with a redirect manager that is then empty and only has a root
element, which is again itself.
This commit is contained in:
Marcel Hollerbach 2017-10-20 11:46:51 +02:00
parent 0b81f9c808
commit 8a0cf1418c
1 changed files with 2 additions and 3 deletions

View File

@ -1345,13 +1345,12 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_
type = node->type;
focusable = node->focusable;
_focus_stack_unfocus_last(pd);
if (node->type == NODE_TYPE_NORMAL)
{
Eo *node_focusable;
_focus_stack_unfocus_last(pd);
//save fields we later need
node_focusable = node->focusable;