evas/event - simpler route

SVN revision: 72185
This commit is contained in:
ChunEon Park 2012-06-15 10:34:22 +00:00
parent c10b10fad0
commit 2c601fc25b
1 changed files with 9 additions and 8 deletions

View File

@ -101,18 +101,19 @@ _evas_event_object_list_raw_in_get(Evas *e, Eina_List *in,
{ {
inside = evas_object_is_in_output_rect(obj, x, y, 1, 1); inside = evas_object_is_in_output_rect(obj, x, y, 1, 1);
if (inside)
{
if ((obj->cur.usemap) && (obj->cur.map) && if ((obj->cur.usemap) && (obj->cur.map) &&
(obj->cur.map->count == 4)) (obj->cur.map->count == 4))
{ {
if ((inside) && if (!evas_map_coords_get(obj->cur.map, x, y,
(!evas_map_coords_get(obj->cur.map, x, y,
&(obj->cur.map->mx), &(obj->cur.map->mx),
&(obj->cur.map->my), 0))) &(obj->cur.map->my), 0))
{ {
inside = 0; inside = 0;
} }
} }
}
if (inside && ((!obj->precise_is_inside) || if (inside && ((!obj->precise_is_inside) ||
(evas_object_is_inside(obj, x, y)))) (evas_object_is_inside(obj, x, y))))
{ {