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,7 +22,7 @@
|
||||||
|
|
||||||
(define-objc-class FrameView NSView
|
(define-objc-class FrameView NSView
|
||||||
[]
|
[]
|
||||||
(- #:async-apply (box (void))
|
(-a #:async-apply (box (void))
|
||||||
_void (drawRect: [_NSRect r])
|
_void (drawRect: [_NSRect r])
|
||||||
(let ([ctx (tell NSGraphicsContext currentContext)])
|
(let ([ctx (tell NSGraphicsContext currentContext)])
|
||||||
(tellv ctx saveGraphicsState)
|
(tellv ctx saveGraphicsState)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user