use correct coords for determining input region calcs on comp objects

This commit is contained in:
Mike Blumenkrantz 2016-11-30 12:25:58 -05:00
parent 3313f0f26d
commit a3a239c1d0
1 changed files with 1 additions and 1 deletions

View File

@ -3162,7 +3162,7 @@ e_comp_object_coords_inside_input_area(Evas_Object *obj, int x, int y)
API_ENTRY EINA_FALSE;
if (cw->input_obj)
return E_INSIDE(x, y, cw->input_rect.x, cw->input_rect.y, cw->input_rect.w, cw->input_rect.h);
return E_INSIDE(x, y, cw->x + cw->input_rect.x, cw->y + cw->input_rect.y, cw->input_rect.w, cw->input_rect.h);
return E_INSIDE(x, y, cw->ec->x, cw->ec->y, cw->ec->w, cw->ec->h);
}