diff options
-rw-r--r-- | render/animcur.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/render/animcur.c b/render/animcur.c index 3f85f9a4f..26a6026ae 100644 --- a/render/animcur.c +++ b/render/animcur.c @@ -169,10 +169,9 @@ AnimCurTimerNotify(OsTimerPtr timer, CARD32 now, void *arg) } if (activeDevice) - TimerSet(as->timer, TimerAbsolute, soonest, AnimCurTimerNotify, pScreen); - else - as->timer_set = FALSE; + return soonest - now; + as->timer_set = FALSE; return 0; } |