jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=29416352d74b63b91d658b16f14e149246a4c0be

commit 29416352d74b63b91d658b16f14e149246a4c0be
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Thu Feb 16 21:51:47 2017 +0900

    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
---
 src/lib/ecore_evas/ecore_evas_buffer.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c 
b/src/lib/ecore_evas/ecore_evas_buffer.c
index 74bcdd7..21d03ec 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -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);

-- 


Reply via email to