if width or height is 0, input region can be set 0x0.
it can makes region set error.
so do not add rect if width or height is c0.
Change-Id: Icc63a111a0fd6b49efe60d46e9772a096ee0e1d7
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
}
if ((input_rect_data) &&
+ ((w > 0) && (h > 0)) &&
(x || y || (w != cw->ec->client.w) || (h != cw->ec->client.h)))
{
input_rect_data->obj = evas_object_rectangle_add(e_comp->evas);
evas_object_show(cw->input_obj);
}
}
+ else if ((input_rect_data) && ((w == 0) || (h == 0)))
+ {
+ input_rect_sd->input_rect_data_list = eina_list_remove(input_rect_sd->input_rect_data_list, input_rect_data);
+ E_FREE(input_rect_data);
+ }
else
{
evas_object_smart_member_del(cw->input_obj);