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
This commit is contained in:
Shinwoo Kim 2016-07-12 10:53:27 +09:00 committed by Carsten Haitzler (Rasterman)
parent 982ef0b9d0
commit c52eda0bf1
1 changed files with 1 additions and 2 deletions

View File

@ -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);