it allows previous highlighted object is empty.
So it should be checked before accessing.
if ((!target) || (!common_visible) || (sd->focus_highlight.cur.in_theme))
goto the_end;
- focus_style_previous = elm_widget_focus_highlight_style_get(previous);
+ if (previous)
+ focus_style_previous = elm_widget_focus_highlight_style_get(previous);
focus_style_target = elm_widget_focus_highlight_style_get(target);
if (sd->focus_highlight.theme_changed ||