win32: fix `focus' return value
This commit is contained in:
parent
68e477fd52
commit
7b5d948d33
|
@ -290,7 +290,7 @@
|
||||||
(define/override (set-top-focus win win-path child-hwnd)
|
(define/override (set-top-focus win win-path child-hwnd)
|
||||||
(set! focus-window-path win-path)
|
(set! focus-window-path win-path)
|
||||||
(when (ptr-equal? hwnd (GetActiveWindow))
|
(when (ptr-equal? hwnd (GetActiveWindow))
|
||||||
(SetFocus child-hwnd)))
|
(void (SetFocus child-hwnd))))
|
||||||
|
|
||||||
(define/private (set-frame-focus)
|
(define/private (set-frame-focus)
|
||||||
(when (pair? focus-window-path)
|
(when (pair? focus-window-path)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user