discomfitor pushed a commit to branch master.

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

commit c38f84e64f3ac915d61c0307fc9dce0c66fda7b8
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Jun 8 13:20:00 2015 -0400

    edje: set GROUP/SWALLOW/EXTERNAL pass events based on mouse events
    
    previously these parts would fail to consume mouse events as expected,
    leading to strange event chains which were inconsistent with other types
    of parts
    
    @fix
---
 src/lib/edje/edje_load.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index b3f3519..6ef6f14 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -701,7 +701,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const 
Eina_File *file, const ch
                             externals = eina_list_append(externals, rp);
                           rp->object = 
evas_object_rectangle_add(ed->base->evas);
                           evas_object_color_set(rp->object, 0, 0, 0, 0);
-                          evas_object_pass_events_set(rp->object, 1);
+                          evas_object_pass_events_set(rp->object, 
!ep->mouse_events);
                           evas_object_pointer_mode_set(rp->object, 
EVAS_OBJECT_POINTER_MODE_NOGRAB);
                           _edje_callbacks_focus_add(rp->object, ed, rp);
                           break;

-- 


Reply via email to