improve previous smart queue commit by deleting existing animator

this completely fixes annoying issues where mousing out of the terminal fails to de-linkify text

moderately reviewed by: billiob
This commit is contained in:
discomfitor 2013-10-20 15:31:19 +01:00
parent 2ad1d55e59
commit 82f4d3546a
1 changed files with 6 additions and 1 deletions

View File

@ -4485,7 +4485,12 @@ termio_mouseover_suspend_pushpop(Evas_Object *obj, int dir)
if (!sd) return;
sd->link.suspend += dir;
if (sd->link.suspend < 0) sd->link.suspend = 0;
if (!sd->link.suspend)
if (sd->link.suspend)
{
if (sd->anim) ecore_animator_del(sd->anim);
sd->anim = NULL;
}
else
_smart_update_queue(obj, sd);
}