remove some redundant code.

SDL3's default behaviour matches what love does with the hint, so the code isn't needed.
This commit is contained in:
Sasha Szpakowski
2026-06-18 20:09:18 -03:00
parent 2f8c88c218
commit 4b43c74a29
-6
View File
@@ -771,12 +771,6 @@ void Window::updateSettings(const WindowSettings &newsettings, bool updateGraphi
settings.usedpiscale = newsettings.usedpiscale;
// Only minimize on focus loss if the window is in exclusive-fullscreen mode
if (settings.fullscreen && settings.fstype == FULLSCREEN_EXCLUSIVE)
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "1");
else
SDL_SetHint(SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS, "0");
settings.vsync = getVSync();
settings.stencil = newsettings.stencil;