summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sly/window.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/sly/window.scm b/sly/window.scm
index de52daa..fb7c69b 100644
--- a/sly/window.scm
+++ b/sly/window.scm
@@ -99,6 +99,7 @@
(let ((res (window-resolution window)))
(sdl2:set-window-title! %sdl-window (window-title window))
(sdl2:set-window-size! %sdl-window (list (vx res) (vy res)))
+ (sdl2:set-window-fullscreen! %sdl-window (window-fullscreen? window))
(sdl2:show-window! %sdl-window)
(signal-set! window-size res)))