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
This commit is contained in:
Cedric BAIL 2012-05-03 10:58:12 +00:00
parent f644afebf0
commit b8ade6a7cf
1 changed files with 5 additions and 1 deletions

View File

@ -77,7 +77,11 @@ _evas_event_object_list_raw_in_get(Evas *e, Eina_List *in,
(obj->cur.bounding_box.x <= x &&
obj->cur.bounding_box.x + obj->cur.bounding_box.w >= x &&
obj->cur.bounding_box.y <= y &&
obj->cur.bounding_box.y + obj->cur.bounding_box.h >= y))
obj->cur.bounding_box.y + obj->cur.bounding_box.h >= y) ||
(obj->cur.geometry.x <= x &&
obj->cur.geometry.y + obj->cur.geometry.w >= x &&
obj->cur.geometry.y <= y &&
obj->cur.geometry.y + obj->cur.geometry.h >= y))
in = _evas_event_object_list_in_get
(e, in, evas_object_smart_members_get_direct(obj),
stop, x, y, &norep);