discomfitor pushed a commit to branch master.

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

commit a9b47547763b0302d32c29c1778d60c202709aea
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Feb 16 15:36:04 2016 -0500

    do not clamp comp object input regions to 0,0
    
    this breaks input for clients using csd which are aligned at x|y axis
---
 src/bin/e_comp_object.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 561ecbe..916fa48 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -3062,8 +3062,8 @@ e_comp_object_input_area_set(Evas_Object *obj, int x, int 
y, int w, int h)
              evas_object_smart_member_add(cw->input_obj, obj);
           }
         evas_object_geometry_set(cw->input_obj,
-          MAX(cw->ec->client.x + (!!cw->frame_object * cw->client_inset.l), 0) 
+ x,
-          MAX(cw->ec->client.y + (!!cw->frame_object * cw->client_inset.t), 0) 
+ y, w, h);
+          cw->ec->client.x + (!!cw->frame_object * cw->client_inset.l) + x,
+          cw->ec->client.y + (!!cw->frame_object * cw->client_inset.t) + y, w, 
h);
         evas_object_pass_events_set(cw->obj, 1);
         if (cw->visible) evas_object_show(cw->input_obj);
      }

-- 


Reply via email to