cocoa: fix crashing bug related to canvas sizing
This commit is contained in:
parent
a2d968a5d2
commit
7ecf8e6c0b
|
@ -878,8 +878,9 @@
|
||||||
(tellv compose-cocoa orderFront: #f))))
|
(tellv compose-cocoa orderFront: #f))))
|
||||||
|
|
||||||
(define (reset-input-method-window-size)
|
(define (reset-input-method-window-size)
|
||||||
(tell compose-text setFrame: #:type _NSRect
|
(when compose-text
|
||||||
(tell #:type _NSRect (tell compose-cocoa contentView) frame)))
|
(tell compose-text setFrame: #:type _NSRect
|
||||||
|
(tell #:type _NSRect (tell compose-cocoa contentView) frame))))
|
||||||
|
|
||||||
(define compose-cocoa #f)
|
(define compose-cocoa #f)
|
||||||
(define compose-text #f)
|
(define compose-text #f)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user