summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-05-03 10:58:12 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-05-03 10:58:12 +0000
commitb8ade6a7cfa99ca19c054bd6b0bf488e63accbf4 (patch)
tree921e7746813ad0497935a873d144bff06851f732 /legacy
parentf644afebf0bb20f9df304d1c4a0790b9d39892f4 (diff)
evas: try to fix another breakage by preventing the size of the bounding box to be smaller than the actual object geometry.
SVN revision: 70693
Diffstat (limited to 'legacy')
-rw-r--r--legacy/evas/src/lib/canvas/evas_events.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_events.c b/legacy/evas/src/lib/canvas/evas_events.c
index ed11314423..d90d9973ca 100644
--- a/legacy/evas/src/lib/canvas/evas_events.c
+++ b/legacy/evas/src/lib/canvas/evas_events.c
@@ -77,7 +77,11 @@ _evas_event_object_list_raw_in_get(Evas *e, Eina_List *in,
77 (obj->cur.bounding_box.x <= x && 77 (obj->cur.bounding_box.x <= x &&
78 obj->cur.bounding_box.x + obj->cur.bounding_box.w >= x && 78 obj->cur.bounding_box.x + obj->cur.bounding_box.w >= x &&
79 obj->cur.bounding_box.y <= y && 79 obj->cur.bounding_box.y <= y &&
80 obj->cur.bounding_box.y + obj->cur.bounding_box.h >= y)) 80 obj->cur.bounding_box.y + obj->cur.bounding_box.h >= y) ||
81 (obj->cur.geometry.x <= x &&
82 obj->cur.geometry.y + obj->cur.geometry.w >= x &&
83 obj->cur.geometry.y <= y &&
84 obj->cur.geometry.y + obj->cur.geometry.h >= y))
81 in = _evas_event_object_list_in_get 85 in = _evas_event_object_list_in_get
82 (e, in, evas_object_smart_members_get_direct(obj), 86 (e, in, evas_object_smart_members_get_direct(obj),
83 stop, x, y, &norep); 87 stop, x, y, &norep);