diff options
author | Marcel Hollerbach <marcel@osg.samsung.com> | 2017-10-20 11:46:51 +0200 |
---|---|---|
committer | Marcel Hollerbach <marcel@osg.samsung.com> | 2017-10-20 11:54:08 +0200 |
commit | 8a0cf1418c62dc17bc9907bcdddfddde277ac044 (patch) | |
tree | 3df290f8d779ffc964aa2251f0678aa8c706718a /src/lib/elementary | |
parent | 0b81f9c8082b5f6597efb47d9676558f8eeeab48 (diff) |
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.
Diffstat (limited to 'src/lib/elementary')
-rw-r--r-- | src/lib/elementary/efl_ui_focus_manager_calc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c index 44b723bc12..24680bcd50 100644 --- a/src/lib/elementary/efl_ui_focus_manager_calc.c +++ b/src/lib/elementary/efl_ui_focus_manager_calc.c | |||
@@ -1345,13 +1345,12 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_ | |||
1345 | type = node->type; | 1345 | type = node->type; |
1346 | focusable = node->focusable; | 1346 | focusable = node->focusable; |
1347 | 1347 | ||
1348 | _focus_stack_unfocus_last(pd); | ||
1349 | |||
1348 | if (node->type == NODE_TYPE_NORMAL) | 1350 | if (node->type == NODE_TYPE_NORMAL) |
1349 | { | 1351 | { |
1350 | Eo *node_focusable; | 1352 | Eo *node_focusable; |
1351 | 1353 | ||
1352 | _focus_stack_unfocus_last(pd); | ||
1353 | |||
1354 | |||
1355 | //save fields we later need | 1354 | //save fields we later need |
1356 | node_focusable = node->focusable; | 1355 | node_focusable = node->focusable; |
1357 | 1356 | ||