make-gui shouldn't ignore its #:width and #:height args

This commit is contained in:
Philip McGrath 2016-12-27 19:19:57 -06:00
parent e1c16adcc8
commit efb994e7e8
1 changed files with 3 additions and 3 deletions

View File

@ -30,8 +30,8 @@
#:start-fullscreen? [start-fullscreen? #f]
#:icon [icon #f]
#:frame-style [frame-style '()]
#:width [the-init-w #f]
#:height [the-init-h #f])
#:width [the-init-w 800]
#:height [the-init-h 600])
(define-values (start-x start-y init-w init-h)
(cond
[start-fullscreen?
@ -39,7 +39,7 @@
(define-values (w h) (get-display-size #t))
(values (* -1 x) (* -1 y) w h)]
[else
(values #f #f 800 600)]))
(values #f #f the-init-w the-init-h)]))
;; xxx start-x/y isn't working