original commit: b7bc89dd7e837632aa832dc5d99609b744841f09
This commit is contained in:
Matthew Flatt 2004-11-10 18:13:19 +00:00
parent 6acee2d830
commit f0ca288447

View File

@ -623,16 +623,18 @@
[delay-updates
(case-lambda
[() (not perform-updates?)]
[(f) (set! perform-updates? (not f))
(when (and perform-updates? pending-redraws?)
[(f)
(set! perform-updates? (not f))
(when perform-updates?
(when pending-redraws?
(force-redraw))
(when (and perform-updates? (positive? (hash-table-count show-ht)))
(when (positive? (hash-table-count show-ht))
(let ([t show-ht])
(set! show-ht (make-hash-table))
(hash-table-for-each
show-ht
t
(lambda (win v?)
(send win show v?)))))])]
(send win show v?))))))])]
[begin-container-sequence
(lambda ()
(when (zero? seq-count)