forked from enlightenment/efl
evas seat focus add - handle other case where layer may be null
fix CID 1377522
This commit is contained in:
parent
bb7e8456c4
commit
3826f21a29
|
@ -246,7 +246,8 @@ _efl_canvas_object_seat_focus_add(Eo *eo_obj,
|
|||
|
||||
_evas_focus_dispatch_event(obj, seat, EINA_TRUE);
|
||||
end:
|
||||
_evas_post_event_callback_call(obj->layer->evas->evas, obj->layer->evas, event_id);
|
||||
if (obj->layer)
|
||||
_evas_post_event_callback_call(obj->layer->evas->evas, obj->layer->evas, event_id);
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue