evas: Fix framespace object clipping detection

This patch fixes an issue where border icons were missing when running
EFL Wayland client applications. This also fixes the issue where
softcursor mouse pointers would not draw over bottom window border.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2016-10-24 13:05:44 -04:00
parent f56dc8d0c3
commit 9c9c8809a7
1 changed files with 4 additions and 5 deletions

View File

@ -189,11 +189,10 @@ _is_obj_in_framespace(Evas_Object_Protected_Data *obj, Evas_Public_Data *evas)
{
if (obj->is_frame) return EINA_TRUE;
return !RECTS_INTERSECT(obj->cur->geometry.x, obj->cur->geometry.y,
obj->cur->geometry.w, obj->cur->geometry.h,
evas->framespace.x, evas->framespace.y,
evas->viewport.w - evas->framespace.w,
evas->viewport.h - evas->framespace.h);
return RECTS_INTERSECT(0, -evas->framespace.y,
evas->viewport.w, evas->viewport.h,
obj->cur->geometry.x, obj->cur->geometry.y,
obj->cur->geometry.w, obj->cur->geometry.h);
}
static inline void