account for frame-location and client<->screen for positioning tool tips under Mac OS X
svn: r9717
This commit is contained in:
parent
db46754271
commit
94d8c852da
|
@ -139,8 +139,9 @@
|
||||||
(let-values ([(x y) (client->screen (floor (get-width))
|
(let-values ([(x y) (client->screen (floor (get-width))
|
||||||
(floor
|
(floor
|
||||||
(- (/ (get-height) 2)
|
(- (/ (get-height) 2)
|
||||||
(/ (send float-window get-height) 2))))])
|
(/ (send float-window get-height) 2))))]
|
||||||
(send float-window move x y))
|
[(dx dy) (get-display-left-top-inset)])
|
||||||
|
(send float-window move (- x dx) (- y dy)))
|
||||||
(unless timer-running?
|
(unless timer-running?
|
||||||
(set! timer-running? #t)
|
(set! timer-running? #t)
|
||||||
(send timer start 500 #t))]
|
(send timer start 500 #t))]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user