racket/gui cocoa: fix atomicity of refresh
Atomicity was accidentally turned off inca0418d47d
. For whatever reason, this bug seems to cause lots of trouble with 32-bit Mac OS X and not as much for 64-bit Mac OS X. (cherry picked from commit13b1d0733a
)
This commit is contained in:
parent
ac8d39ad0d
commit
d9f723e6ad
|
@ -22,8 +22,8 @@
|
|||
|
||||
(define-objc-class FrameView NSView
|
||||
[]
|
||||
(- #:async-apply (box (void))
|
||||
_void (drawRect: [_NSRect r])
|
||||
(-a #:async-apply (box (void))
|
||||
_void (drawRect: [_NSRect r])
|
||||
(let ([ctx (tell NSGraphicsContext currentContext)])
|
||||
(tellv ctx saveGraphicsState)
|
||||
(let ([cg (tell #:type _CGContextRef ctx graphicsPort)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user