No, stop freezing my X11 server

This commit is contained in:
GenericHeroGuy 2026-02-14 22:54:45 +01:00
parent 418f345971
commit 15d89f5ef5

View file

@ -366,7 +366,7 @@ static UINT32 VID_GetRefreshRate(void)
return 0;
}
m = SDL_GetCurrentDisplayMode(index);
m = SDL_GetDesktopDisplayMode(index);
if (m == NULL)
{
// Error has occurred.