From ece977e2edb58cc742704df18a50e01a2689ef3d Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Wed, 7 Oct 2026 13:22:33 -0700 Subject: [PATCH] linux_window_manager :fall back to 60 Hz if default refresh rate couldn't be detected --- src/linux/window_manager/linux_window_manager.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/linux/window_manager/linux_window_manager.c b/src/linux/window_manager/linux_window_manager.c index 8cff4df2..72c85ea2 100644 --- a/src/linux/window_manager/linux_window_manager.c +++ b/src/linux/window_manager/linux_window_manager.c @@ -407,6 +407,10 @@ wm_init(void) } } XRRFreeScreenResources(res); + if(lnx_wm_state->gfx_info.default_refresh_rate == 0) + { + lnx_wm_state->gfx_info.default_refresh_rate = 60.f; + } } //- rjf: fill out cursors