From f40272d50954fd0995714b789215c938b2bd455d Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Tue, 25 Apr 2023 15:00:34 +0000 Subject: Add follow mouse mode to avoid refocusing under cursor (#2135) * Add follow mouse mode to avoid refocusing under cursor --- src/config/ConfigManager.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/config/ConfigManager.cpp') diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index ef1055eb..50c53f27 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -151,6 +151,7 @@ void CConfigManager::setDefaultVars() { configValues["animations:enabled"].intValue = 1; configValues["input:follow_mouse"].intValue = 1; + configValues["input:mouse_refocus"].intValue = 1; configValues["input:sensitivity"].floatValue = 0.f; configValues["input:accel_profile"].strValue = STRVAL_EMPTY; configValues["input:kb_file"].strValue = STRVAL_EMPTY; -- cgit v1.2.3