slide timeout advance as low-priority callback, to avoid thrashing when the last registered slide has a timeout

svn: r7439
This commit is contained in:
Matthew Flatt 2007-10-06 13:25:52 +00:00
parent 3ca107f1ed
commit f64548b6d6

View File

@ -741,7 +741,11 @@
[notify-callback [notify-callback
(lambda () (lambda ()
(when (eq? current-timeout-key key) (when (eq? current-timeout-key key)
(send c-frame next-one)))]))) ;; run as low priority:
(queue-callback
(lambda ()
(send c-frame next-one))
#f)))])))
(cond (cond
[config:use-offscreen? [config:use-offscreen?
(let-values ([(cw ch) (get-client-size)]) (let-values ([(cw ch) (get-client-size)])