forked from enlightenment/efl
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:
parent
982ef0b9d0
commit
c52eda0bf1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue