From 1d5b8e95af7f3fda71b4c5ffdcf56ac4a1847732 Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Sat, 22 Jul 2017 20:40:31 -0400 Subject: [PATCH] use the host-OS' desktop resolution, when entering full-screen. This enables use of Mac OS X's "Spaces" feature, when going to fullscreen. --- BasiliskII/src/SDL/video_sdl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BasiliskII/src/SDL/video_sdl.cpp b/BasiliskII/src/SDL/video_sdl.cpp index b43ad49d..e9454b0a 100644 --- a/BasiliskII/src/SDL/video_sdl.cpp +++ b/BasiliskII/src/SDL/video_sdl.cpp @@ -689,7 +689,7 @@ static SDL_Surface * init_sdl_video(int width, int height, int bpp, Uint32 flags shutdown_sdl_video(); return NULL; } - window_flags |= SDL_WINDOW_FULLSCREEN; + window_flags |= SDL_WINDOW_FULLSCREEN_DESKTOP; window_width = desktop_mode.w; window_height = desktop_mode.h; }