summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel@osg.samsung.com>2018-04-30 10:51:52 +0200
committerMarcel Hollerbach <marcel@osg.samsung.com>2018-04-30 15:22:52 +0200
commit3571b35a30c715a79e64b89633386b6b23a92652 (patch)
tree3a33dc3c55f719ec2f8e3006a622702a54f1372d
parent139efaaba325edf738f6cdfb678acac774f100a8 (diff)
downloadefl-3571b35a30c715a79e64b89633386b6b23a92652.tar.gz
efl_ui_focus_manager_calc: drop redirect if there is no candidate
-rw-r--r--src/lib/elementary/efl_ui_focus_manager_calc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_focus_manager_calc.c b/src/lib/elementary/efl_ui_focus_manager_calc.c
index 6845e1195b..0d29f42a84 100644
--- a/src/lib/elementary/efl_ui_focus_manager_calc.c
+++ b/src/lib/elementary/efl_ui_focus_manager_calc.c
@@ -1730,6 +1730,14 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, Efl_Ui
efl_ui_focus_manager_focus_set(obj, new_candidate);
adjust_redirect_manager = EINA_TRUE;
}
+ else
+ {
+ //we set the redirect to NULL since it cannot
+ //help us, later on the redirect manager can be
+ //set to the same again, and it is strictly new setted up.
+ efl_ui_focus_manager_redirect_set(obj, NULL);
+ pd->redirect_entry = NULL;
+ }
candidate = new_candidate;
}