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);
if ((obj->cur.usemap) && (obj->cur.map) &&
(obj->cur.map->count == 4))
if (inside)
{
if ((inside) &&
(!evas_map_coords_get(obj->cur.map, x, y,
&(obj->cur.map->mx),
&(obj->cur.map->my), 0)))
if ((obj->cur.usemap) && (obj->cur.map) &&
(obj->cur.map->count == 4))
{
inside = 0;
if (!evas_map_coords_get(obj->cur.map, x, y,
&(obj->cur.map->mx),
&(obj->cur.map->my), 0))
{
inside = 0;
}
}
}
if (inside && ((!obj->precise_is_inside) ||
(evas_object_is_inside(obj, x, y))))
{