From a3a239c1d0184f38c44f7cba1a4f2ca0dbfaa1e5 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 30 Nov 2016 12:25:58 -0500 Subject: [PATCH] use correct coords for determining input region calcs on comp objects --- src/bin/e_comp_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index b6999ca7a..2751dbd0a 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -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); }