raster pushed a commit to branch master.

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

commit c52eda0bf155b11ca137450cb388cd239d434554
Author: Shinwoo Kim <cinoo....@samsung.com>
Date:   Tue Jul 12 10:53:27 2016 +0900

    edje: the repeat_events property of swallowed object probably should follow 
the repeat_events property of swallow part object
    
    Summary: Need discussion about the repeat_events property
    
    Test Plan: Swallow an object which has EINA_TRUE repeat_events to a swallow 
part which has EINA_FALSE repeat_events
    
    Reviewers: Hermet, cedric, raster, jpeg
    
    Reviewed By: raster, jpeg
    
    Subscribers: jaehwan, seoz, woohyun
    
    Differential Revision: https://phab.enlightenment.org/D3580
---
 src/lib/edje/edje_util.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/lib/edje/edje_util.c b/src/lib/edje/edje_util.c
index 4f82e32..48ee448 100644
--- a/src/lib/edje/edje_util.c
+++ b/src/lib/edje/edje_util.c
@@ -6625,8 +6625,7 @@ _edje_real_part_swallow(Edje *ed,
    if (rp->part->mouse_events)
      {
         _edje_callbacks_add(obj_swallow, ed, rp);
-        if (rp->part->repeat_events)
-          evas_object_repeat_events_set(obj_swallow, 1);
+        evas_object_repeat_events_set(obj_swallow, rp->part->repeat_events);
         if (rp->part->pointer_mode != EVAS_OBJECT_POINTER_MODE_AUTOGRAB)
           evas_object_pointer_mode_set(obj_swallow, rp->part->pointer_mode);
         evas_object_pass_events_set(obj_swallow, 0);

-- 


Reply via email to