fix (some cases about) link still showing up when they shouldn't

This commit is contained in:
Boris Faure 2013-10-08 22:22:20 +02:00
parent 579c64878a
commit 585ed2c323
1 changed files with 7 additions and 1 deletions

View File

@ -570,7 +570,13 @@ _smart_mouseover_apply(Evas_Object *obj)
Eina_Bool same_link = EINA_FALSE, same_geom = EINA_FALSE;
Termio *sd = evas_object_smart_data_get(obj);
if (!sd || (sd->mouse.cx < 0) || (sd->mouse.cy < 0)) return;
if (!sd) return;
if ((sd->mouse.cx < 0) || (sd->mouse.cy < 0))
{
_remove_links(sd, obj);
return;
}
s = _termio_link_find(obj, sd->mouse.cx, sd->mouse.cy,
&x1, &y1, &x2, &y2);