discomfitor pushed a commit to branch efl-1.14.

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

commit 7be97903408c2edd1c2c6d9cea2805c8f0889737
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 905aefc..f006f65 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -621,7 +621,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