fix language dialog tooltip positioning code for mac os x
This commit is contained in:
parent
0fecdaddf7
commit
fc2f931755
|
@ -465,8 +465,10 @@
|
||||||
(define-values (x y) (client->screen
|
(define-values (x y) (client->screen
|
||||||
(inexact->exact (round (unbox bl)))
|
(inexact->exact (round (unbox bl)))
|
||||||
(inexact->exact (round (unbox bt)))))
|
(inexact->exact (round (unbox bt)))))
|
||||||
|
(define-values (dl dt) (get-display-left-top-inset))
|
||||||
(values (send snip get-item)
|
(values (send snip get-item)
|
||||||
x y
|
(- x dl)
|
||||||
|
(- y dt)
|
||||||
(inexact->exact (round w))
|
(inexact->exact (round w))
|
||||||
(inexact->exact (round h)))]
|
(inexact->exact (round h)))]
|
||||||
[(is-a? snip editor-snip%)
|
[(is-a? snip editor-snip%)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user