bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=23fd22836da977131b5366d936adb8845567789d
commit 23fd22836da977131b5366d936adb8845567789d Author: Marcel Hollerbach <[email protected]> Date: Wed Dec 21 12:28:44 2016 +0100 efl_ui_focus_manager: there is the case that n can be NULL --- src/lib/elementary/efl_ui_focus_manager.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/lib/elementary/efl_ui_focus_manager.c b/src/lib/elementary/efl_ui_focus_manager.c index 3ec1c7a..7f650f3 100644 --- a/src/lib/elementary/efl_ui_focus_manager.c +++ b/src/lib/elementary/efl_ui_focus_manager.c @@ -1178,10 +1178,13 @@ _efl_ui_focus_manager_move(Eo *obj EINA_UNUSED, Efl_Ui_Focus_Manager_Data *pd, E if (direction == EFL_UI_FOCUS_DIRECTION_NEXT || direction == EFL_UI_FOCUS_DIRECTION_PREV) { - n = T(n).parent; - new_candidate = _request_move(obj, pd, direction, n); - efl_ui_focus_manager_focus(obj, new_candidate); - candidate = new_candidate; + if (n) + { + n = T(n).parent; + new_candidate = _request_move(obj, pd, direction, n); + efl_ui_focus_manager_focus(obj, new_candidate); + candidate = new_candidate; + } } else { --
