forked from enlightenment/efl
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:
parent
0b81f9c808
commit
8a0cf1418c
|
@ -1345,13 +1345,12 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_
|
||||||
type = node->type;
|
type = node->type;
|
||||||
focusable = node->focusable;
|
focusable = node->focusable;
|
||||||
|
|
||||||
|
_focus_stack_unfocus_last(pd);
|
||||||
|
|
||||||
if (node->type == NODE_TYPE_NORMAL)
|
if (node->type == NODE_TYPE_NORMAL)
|
||||||
{
|
{
|
||||||
Eo *node_focusable;
|
Eo *node_focusable;
|
||||||
|
|
||||||
_focus_stack_unfocus_last(pd);
|
|
||||||
|
|
||||||
|
|
||||||
//save fields we later need
|
//save fields we later need
|
||||||
node_focusable = node->focusable;
|
node_focusable = node->focusable;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue