summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-02-16 21:51:47 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-02-16 21:51:47 +0900
commit29416352d74b63b91d658b16f14e149246a4c0be (patch)
treeba1797ffc734c06f81d2fad83153f67bd996319b /src/lib/ecore_evas
parent063c3529a5c851a46e6b89cc5c2bee08cd3c8ea2 (diff)
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
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index 74bcdd748a..21d03ec7e7 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,
725 { 725 {
726 ERR("Could not init the Ecore Evas cursors"); 726 ERR("Could not init the Ecore Evas cursors");
727 ecore_evas_free(ee); 727 ecore_evas_free(ee);
728 return NULL;
728 } 729 }
729 evas_event_feed_mouse_in(ee->evas, 0, NULL); 730 evas_event_feed_mouse_in(ee->evas, 0, NULL);
730 731
@@ -916,6 +917,12 @@ ecore_evas_object_image_new(Ecore_Evas *ee_target)
916 evas_key_lock_add(ee->evas, "Num_Lock"); 917 evas_key_lock_add(ee->evas, "Num_Lock");
917 evas_key_lock_add(ee->evas, "Scroll_Lock"); 918 evas_key_lock_add(ee->evas, "Scroll_Lock");
918 919
920 if (!_ecore_evas_cursors_init(ee))
921 {
922 ERR("Could not init the Ecore Evas cursors");
923 ecore_evas_free(ee);
924 return NULL;
925 }
919 _ecore_evas_register_animators(ee); 926 _ecore_evas_register_animators(ee);
920 927
921 ee_target->sub_ecore_evas = eina_list_append(ee_target->sub_ecore_evas, ee); 928 ee_target->sub_ecore_evas = eina_list_append(ee_target->sub_ecore_evas, ee);