under Windows, editor-canvas% needs to set its own focus on mouse clicks
svn: r14516
This commit is contained in:
parent
05ae98e55b
commit
8001b11c03
|
@ -152,7 +152,8 @@
|
|||
get-scroll-page set-scroll-page
|
||||
get-scroll-range set-scroll-range
|
||||
is-shown-to-root?
|
||||
show-scrollbars)
|
||||
show-scrollbars
|
||||
set-focus)
|
||||
|
||||
(define blink-timer #f)
|
||||
(define noloop? #f)
|
||||
|
@ -374,6 +375,12 @@
|
|||
(set! last-x x)
|
||||
(set! last-y y)
|
||||
|
||||
(when (and (eq? 'windows (system-type))
|
||||
(not focuson?)
|
||||
(send event button-down?))
|
||||
(set-focus)
|
||||
(on-focus #t))
|
||||
|
||||
(when (and media
|
||||
(not (send media get-printing)))
|
||||
(using-admin
|
||||
|
|
Loading…
Reference in New Issue
Block a user