summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiin.moon <jiin.moon@samsung.com>2017-09-19 16:59:16 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-19 16:59:16 +0900
commit4f8fe4889f7446664a13d9bbd6da76bcbbc98501 (patch)
tree2b49d60ffb48956be69bbb3144e214e01dd0cdac
parentd94a4d8d892f4b6ba1cbd0ecbe4dc27175142a82 (diff)
evas_event: Fix missing case when check the event area
Summary: If the object is outside the parent geometry because of map, this object would be ignored in determining object is in the event area. Please refer to below case 1) There are some button in the box object 2) A button has map with 90 degree. It would be placed outside the box geometry 3) If you press the button part outside the box, the button event does not work. Test Plan: sample code Reviewers: jpeg, cedric Differential Revision: https://phab.enlightenment.org/D5180
-rw-r--r--src/lib/evas/canvas/evas_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c
index ebb0705c6c..0653f8dc90 100644
--- a/src/lib/evas/canvas/evas_events.c
+++ b/src/lib/evas/canvas/evas_events.c
@@ -161,7 +161,7 @@ _evas_event_object_list_raw_in_get_single(Evas *eo_e, Evas_Object_Protected_Data
161 } 161 }
162 clip_calc(obj->cur->clipper, &c); 162 clip_calc(obj->cur->clipper, &c);
163 // only worry about objects that intersect INCLUDING clippint 163 // only worry about objects that intersect INCLUDING clippint
164 if ((!RECTS_INTERSECT(x, y, 1, 1, c.x, c.y, c.w, c.h))) 164 if ((!RECTS_INTERSECT(x, y, 1, 1, c.x, c.y, c.w, c.h)) && (!obj->child_has_map))
165 { 165 {
166#ifdef DDD_DO 166#ifdef DDD_DO
167 if (obj->is_smart) 167 if (obj->is_smart)