only queue smart updates from termio_mouseover_suspend_pushpop when link.suspend is 0

almost reviewed-by: billiob
This commit is contained in:
discomfitor 2013-10-20 08:15:24 +01:00
parent e45fec3127
commit 2ad1d55e59
1 changed files with 2 additions and 1 deletions

View File

@ -4485,7 +4485,8 @@ 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;
_smart_update_queue(obj, sd);
if (!sd->link.suspend)
_smart_update_queue(obj, sd);
}
void