cocoa: fix get-y' in frame%'

original commit: c0811dc220c847c7132679ca4d3acb9f3fb93754
This commit is contained in:
Matthew Flatt 2011-05-26 07:28:23 -06:00
parent f1856b4684
commit 830c42cb1e

View File

@ -467,7 +467,7 @@
(define/override (flip y h) (flip-screen (+ y h)))
(define/override (get-y)
(- (- (super get-y) (if caption? 22 0)) (get-menu-bar-height)))
(- (super get-y) (get-menu-bar-height)))
(define/override (set-size x y w h)
(unless (and (= x -1) (= y -1))