git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@62134
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
evas_object_geometry_get(obj, &x, &y, &w, &h);
evas_output_viewport_get(evas_object_evas_get(obj),
&cvx, &cvy, &cvw, &cvh);
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;
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)
if (ELM_RECTS_INTERSECT(x, y, w, h, cvx, cvy, cvw, cvh))
{
if (!wd->content)