From 633c72f6af54542ded96a0109a2c081d38753e60 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 22 Oct 2015 18:44:51 -0400 Subject: [PATCH] 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); -- 2.7.4