discomfitor pushed a commit to branch master.

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

commit 633c72f6af54542ded96a0109a2c081d38753e60
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Oct 22 18:44:51 2015 -0400

    clip client input rect to client geometry, not window geometry
    
    when using csd, the window geometry will be smaller than the surface,
    resulting in an unusually small input region
---
 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 bdedd97..24d8dbc 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -2891,7 +2891,7 @@ e_comp_object_input_area_set(Evas_Object *obj, int x, int 
y, int w, int h)
    API_ENTRY;
 
    //INF("%d,%d %dx%d", x, y, w, h);
-   E_RECTS_CLIP_TO_RECT(x, y, w, h, 0, 0, cw->ec->w, cw->ec->h);
+   E_RECTS_CLIP_TO_RECT(x, y, w, h, 0, 0, cw->ec->client.w, cw->ec->client.h);
    if ((cw->input_rect.x == x) && (cw->input_rect.y == y) &&
        (cw->input_rect.w == w) && (cw->input_rect.h == h)) return;
    EINA_RECTANGLE_SET(&cw->input_rect, x, y, w, h);

-- 


Reply via email to