From 990c23c840e1da53a4d3accd96d7645927129f2b Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 15 Dec 2015 17:16:26 -0500 Subject: [PATCH] evas: do not add unclipped smart members to the master clip this is probably a pretty unlikely scenario, but messing with smart members in this way is probably not a great idea @fix --- src/lib/evas/canvas/evas_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c index 1645ebcf4c..830516eb9a 100644 --- a/src/lib/evas/canvas/evas_render.c +++ b/src/lib/evas/canvas/evas_render.c @@ -2527,7 +2527,7 @@ evas_render_updates_internal(Evas *eo_e, if (!eina_rectangles_intersect(&clip_rect, &obj_rect)) continue; - if (!evas_object_clip_get(obj->object)) + if ((!evas_object_clip_get(obj->object)) && (!obj->smart.parent)) { /* clip this object to the master clip */ evas_object_clip_set(obj->object, e->framespace.clip);