cocoa: fix first-responder tracking when a frame is hidden
This commit is contained in:
parent
2c0a034792
commit
2ab0d36738
|
@ -392,6 +392,8 @@
|
|||
(define/override (is-responder wx on?)
|
||||
(unless (and (not on?)
|
||||
(not (eq? first-responder wx)))
|
||||
(unless on?
|
||||
(tellv cocoa makeFirstResponder: #f))
|
||||
(if on?
|
||||
(set! first-responder wx)
|
||||
(set! first-responder #f))
|
||||
|
|
Loading…
Reference in New Issue
Block a user