From 3385438095b0cc8af7e9e6eddc1be7490d3848b5 Mon Sep 17 00:00:00 2001 From: Quantum Date: Wed, 20 Jan 2021 14:43:05 -0500 Subject: [PATCH] [client] wm: use correct logic for screensaver inhibition Namely, we should inhibitIdle if noScreensaver is true, not the other way around. --- client/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.c b/client/src/main.c index a5e297d5..bbb4f25e 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -1987,7 +1987,7 @@ static int lg_run(void) if (!params.center) SDL_SetWindowPosition(g_state.window, params.x, params.y); - if (!params.noScreensaver) + if (params.noScreensaver) g_state.ds->inhibitIdle(); // ensure the initial window size is stored in the state