cocoa: don't disable flushes on a window that isn't shown

because that doesn't seem to work
 Closes PR 11565
This commit is contained in:
Matthew Flatt 2010-12-24 18:22:59 -06:00
parent 21ca120c8c
commit bb96973c4a

View File

@ -810,8 +810,9 @@
(do-request-flush-delay
cocoa-win
(lambda (cocoa-win)
(tellv cocoa-win disableFlushWindow)
#t)
(and (tell #:type _bool cocoa-win isVisible)
(tellv cocoa-win disableFlushWindow)
#t))
(lambda (cocoa-win)
(tellv cocoa-win enableFlushWindow))))