do not clamp comp object input regions to 0,0

this breaks input for clients using csd which are aligned at x|y axis
This commit is contained in:
Mike Blumenkrantz 2016-02-16 15:36:04 -05:00
parent 92eb0572e2
commit a9b4754776
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}