aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-10-24 13:05:44 -0400
committerChris Michael <cp.michael@samsung.com>2016-10-24 13:08:00 -0400
commit9c9c8809a7d90a5ab61c2c930c4cdaeb1d8e8c6a (patch)
tree65be064a9e5dd85a3db32f28c04cf02c03669db4 /src
parentelementary: Don't always show pointer object (diff)
downloadefl-9c9c8809a7d90a5ab61c2c930c4cdaeb1d8e8c6a.tar.gz
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>
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/canvas/evas_render.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c
index 19fdbd78ef..6b846ae9a9 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -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