diff --git a/src/options.cpp b/src/options.cpp index df472bb059c3b..edc3a28300796 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -1790,7 +1790,7 @@ void options_manager::add_options_graphics() #if !defined(__ANDROID__) // Android is always fullscreen add( "FULLSCREEN", "graphics", translate_marker( "Fullscreen" ), translate_marker( "Starts Cataclysm in one of the fullscreen modes. Requires restart." ), - { { "no", translate_marker( "No" ) }, { "fullscreen", translate_marker( "Fullscreen" ) }, { "windowedbl", translate_marker( "Windowed borderless" ) } }, + { { "no", translate_marker( "No" ) }, { "maximized", translate_marker( "Maximized" ) }, { "fullscreen", translate_marker( "Fullscreen" ) }, { "windowedbl", translate_marker( "Windowed borderless" ) } }, "windowedbl", COPT_CURSES_HIDE ); #endif diff --git a/src/sdltiles.cpp b/src/sdltiles.cpp index 382e836634376..23798b568bdff 100644 --- a/src/sdltiles.cpp +++ b/src/sdltiles.cpp @@ -383,6 +383,8 @@ static void WinCreate() window_flags |= SDL_WINDOW_FULLSCREEN_DESKTOP; fullscreen = true; SDL_SetHint( SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0" ); + } else if( get_option( "FULLSCREEN" ) == "maximized" ) { + window_flags |= SDL_WINDOW_MAXIMIZED; } #endif