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:
parent
3ca107f1ed
commit
f64548b6d6
|
@ -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)])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user