diff --git a/src/main/main.cpp b/src/main/main.cpp index 7d9564c..cd9057a 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -114,7 +114,7 @@ ultramodern::WindowHandle create_window(ultramodern::gfx_callbacks_t::gfx_data_t if (ultramodern::get_graphics_config().wm_option == ultramodern::WindowMode::Fullscreen) { // TODO: Remove once RT64 gets native fullscreen support on Linux SDL_SetWindowFullscreen(window,SDL_WINDOW_FULLSCREEN_DESKTOP); } else { - SDL_SetWindowFullscreen(window,SDL_WINDOW_RESIZABLE); + SDL_SetWindowFullscreen(window,0); } #endif diff --git a/src/ui/ui_config.cpp b/src/ui/ui_config.cpp index 78c1b93..80100e9 100644 --- a/src/ui/ui_config.cpp +++ b/src/ui/ui_config.cpp @@ -197,7 +197,7 @@ void apply_graphics_config(void) { if (new_options.wm_option == ultramodern::WindowMode::Fullscreen) { SDL_SetWindowFullscreen(window,SDL_WINDOW_FULLSCREEN_DESKTOP); } else { - SDL_SetWindowFullscreen(window,SDL_WINDOW_RESIZABLE); + SDL_SetWindowFullscreen(window,0); } #endif }