diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index fa55e62f1..c37445596 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -1361,6 +1361,7 @@ static void SDLSetMode(INT32 width, INT32 height, SDL_bool fullscreen) { wasfullscreen = SDL_FALSE; SDL_SetWindowFullscreen(window, 0); + I_SetBorderlessWindow(); } // Reposition window only in windowed mode @@ -1380,6 +1381,7 @@ static void SDLSetMode(INT32 width, INT32 height, SDL_bool fullscreen) if (fullscreen) { SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN_DESKTOP); + I_SetBorderlessWindow(); } }