First on_focus call should consider focus highlight enable status and
do the different job according to that.
This can be tested in "genlist 7" and "genlist focus" examples in
elementary_test.
it = sd->last_focused_item;
else if (sd->last_selected_item)
it = sd->last_selected_item;
- else
+ else if (elm_widget_focus_highlight_enabled_get(obj))
{
it = elm_gengrid_first_item_get(obj);
is_sel = EINA_TRUE;
it = sd->last_focused_item;
else if (sd->last_selected_item)
it = sd->last_selected_item;
- else if (sd->selected)
+ else if (elm_widget_focus_highlight_enabled_get(obj))
{
it = elm_genlist_first_item_get(obj);
is_sel = EINA_TRUE;
it = sd->last_focused_item;
else if (sd->last_selected_item)
it = sd->last_selected_item;
- else
+ else if (elm_widget_focus_highlight_enabled_get(obj))
{
it = eina_list_data_get(sd->items);
is_sel = EINA_TRUE;