From: raster Date: Fri, 5 Aug 2011 13:22:03 +0000 (+0000) Subject: notes X-Git-Tag: REL_F_I9500_20120323_1~17^2~2014 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a421707e306289bef654f45305ac9f1bdeb26838;p=framework%2Fuifw%2Felementary.git notes git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@62134 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- 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)