From 15d89f5ef54b9a1fae6448a6ead7542549a9ad6d Mon Sep 17 00:00:00 2001 From: GenericHeroGuy Date: Sat, 14 Feb 2026 22:54:45 +0100 Subject: [PATCH] No, stop freezing my X11 server --- src/sdl/i_video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl/i_video.cpp b/src/sdl/i_video.cpp index 62046a7fa..19fc258a9 100644 --- a/src/sdl/i_video.cpp +++ b/src/sdl/i_video.cpp @@ -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.