discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a3a239c1d0184f38c44f7cba1a4f2ca0dbfaa1e5

commit a3a239c1d0184f38c44f7cba1a4f2ca0dbfaa1e5
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Nov 30 12:25:58 2016 -0500

    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 b6999ca..2751dbd 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);
 }
 

-- 


Reply via email to