forked from enlightenment/efl
ecore_evas: Fix mouse event in inlined windows
This fixes the following ERR message: ERR<10589>:eina_safety /home/jpeg/e/core/efl/src/lib/ecore_evas/ecore_evas.c:3149 _ecore_evas_mouse_move_process_internal() safety check failed: cursor == NULL
This commit is contained in:
parent
063c3529a5
commit
29416352d7
|
@ -725,6 +725,7 @@ ecore_evas_buffer_allocfunc_new(int w, int h,
|
|||
{
|
||||
ERR("Could not init the Ecore Evas cursors");
|
||||
ecore_evas_free(ee);
|
||||
return NULL;
|
||||
}
|
||||
evas_event_feed_mouse_in(ee->evas, 0, NULL);
|
||||
|
||||
|
@ -916,6 +917,12 @@ ecore_evas_object_image_new(Ecore_Evas *ee_target)
|
|||
evas_key_lock_add(ee->evas, "Num_Lock");
|
||||
evas_key_lock_add(ee->evas, "Scroll_Lock");
|
||||
|
||||
if (!_ecore_evas_cursors_init(ee))
|
||||
{
|
||||
ERR("Could not init the Ecore Evas cursors");
|
||||
ecore_evas_free(ee);
|
||||
return NULL;
|
||||
}
|
||||
_ecore_evas_register_animators(ee);
|
||||
|
||||
ee_target->sub_ecore_evas = eina_list_append(ee_target->sub_ecore_evas, ee);
|
||||
|
|
Loading…
Reference in New Issue