summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-10-14 15:54:41 -0700
committerCedric BAIL <cedric@osg.samsung.com>2015-10-14 16:18:37 -0700
commit229106963ab185c7f6144d82f2b6f895ad409616 (patch)
tree0158ec2ada7236e10606673efc108f5eb7467bf5
parent535076f42587c1e66938ddb862a356ebffd79676 (diff)
evas: no need to compute clippees list if we just want to know if there is any.
This is a partial fix for a terrible performance scenario where application take forever to close with a large number of edje object. @fix
-rw-r--r--src/lib/evas/canvas/evas_object_smart_clipped.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_object_smart_clipped.c b/src/lib/evas/canvas/evas_object_smart_clipped.c
index 74720449b2..6d4effd2d8 100644
--- a/src/lib/evas/canvas/evas_object_smart_clipped.c
+++ b/src/lib/evas/canvas/evas_object_smart_clipped.c
@@ -206,7 +206,7 @@ evas_object_smart_clipped_smart_member_del(Evas_Object *eo_obj, Evas_Object *mem
206 if (!cso->clipper) 206 if (!cso->clipper)
207 return; 207 return;
208 evas_object_clip_unset(member); 208 evas_object_clip_unset(member);
209 if (!evas_object_clipees_get(cso->clipper)) 209 if (!evas_object_clipees_has(cso->clipper))
210 evas_object_hide(cso->clipper); 210 evas_object_hide(cso->clipper);
211} 211}
212 212