racket/gui cocoa: fix atomicity of refresh
Atomicity was accidentally turned off in ca0418d47d
.
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.
This commit is contained in:
parent
bc018585ac
commit
13b1d0733a
|
@ -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