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