during get client under pointer, there was a bug that width and height
used as coordinate.
e_client_transform_core_input_inv_transform is function for transform
coordinates, but input value of ir_w, ir_h is length of rectangle.
To fix it, Added position into length value to makes length to position.
After the transformation is done, subtract the position to make as
length value.
Change-Id: Idc8420e1e78de1ecdbf5035fb0eb5abccf3c98ac
if (e_client_transform_core_enable_get(cec))
{
+ int ir_xw = ir_x + ir_w;
+ int ir_yh = ir_y + ir_h;
e_client_transform_core_input_inv_transform(cec, ir_x, ir_y, &ir_x, &ir_y);
- e_client_transform_core_input_inv_transform(cec, ir_w, ir_h, &ir_w, &ir_h);
+ e_client_transform_core_input_inv_transform(cec, ir_xw, ir_yh, &ir_xw, &ir_yh);
+ ir_w = ir_xw - ir_x;
+ ir_h = ir_yh - ir_y;
}
if (E_INSIDE(x, y, ir_x, ir_y, ir_w, ir_h))