From: Carsten Haitzler Date: Fri, 5 Aug 2011 13:22:03 +0000 (+0000) Subject: notes X-Git-Tag: v1.0.0~2279 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=154337df07f2ebd4b4ca5ab977d4951fe9fd4dc1;p=platform%2Fupstream%2Felementary.git notes SVN revision: 62134 --- diff --git a/src/lib/elm_factory.c b/src/lib/elm_factory.c index 63c0013..86fee71 100644 --- a/src/lib/elm_factory.c +++ b/src/lib/elm_factory.c @@ -73,7 +73,9 @@ _eval(Evas_Object *obj) evas_object_geometry_get(obj, &x, &y, &w, &h); evas_output_viewport_get(evas_object_evas_get(obj), &cvx, &cvy, &cvw, &cvh); + // this is a hack to get things sane for now. if ((w < 10) || (h < 10) || (cvw < 1) || (cvh < 1)) return; + // need some fuzz value thats beyond the current viewport if (ELM_RECTS_INTERSECT(x, y, w, h, cvx, cvy, cvw, cvh)) { if (!wd->content)