Previously, if naviframe focus reaches to the last content, then the
next focus goes to naviframe itself and focus remains the last content.
Now, if naviframe focus reaches to the last content, then the next focus
goes to the first content.
Change-Id: I2bac890cd5953bfe77fee47044b2f86ce7d4c148
eina_list_free(l);
end:
- if (!int_ret)
+ if (!int_ret &&
+ (!(*next) || (*next == elm_object_focused_object_get(obj))))
{
*next = obj;
int_ret = !elm_widget_focus_get(obj);