scroller, only scroller(not the one of the child objects) will be set
as focused. This is because scroller is focusable.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@67113
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cur = wd->content;
/* Try Focus cycle in subitem */
- if ((elm_widget_can_focus_get(cur)) || (elm_widget_child_can_focus_get(cur)))
- return elm_widget_focus_next_get(cur, dir, next);
+ if (elm_widget_focus_get(obj))
+ {
+ if ((elm_widget_can_focus_get(cur)) || (elm_widget_child_can_focus_get(cur)))
+ return elm_widget_focus_next_get(cur, dir, next);
+ }
/* Return */
*next = (Evas_Object *)obj;