From 04c9694ffaf5ab83b5ae8e890ab4c23e715f5204 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 4 Aug 2021 05:54:59 +1000 Subject: [PATCH] [client] config: ensure mouseRedraw is on if jitRender is in use --- client/src/config.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/src/config.c b/client/src/config.c index acb78ac4..06287c69 100644 --- a/client/src/config.c +++ b/client/src/config.c @@ -601,6 +601,12 @@ bool config_load(int argc, char * argv[]) g_params.autoCapture = option_get_bool("input", "autoCapture" ); g_params.captureInputOnly = option_get_bool("input", "captureOnly" ); + if (g_params.jitRender && !g_params.mouseRedraw) + { + DEBUG_WARN("win:jitRender is enabled, forcing input:mouseRedraw"); + g_params.mouseRedraw = true; + } + g_params.helpMenuDelayUs = option_get_int("input", "helpMenuDelay") * (uint64_t) 1000; g_params.minimizeOnFocusLoss = option_get_bool("win", "minimizeOnFocusLoss");