diff options
| author | outfoxxed <outfoxxed@outfoxxed.me> | 2023-04-25 15:00:34 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-25 16:00:34 +0100 |
| commit | f40272d50954fd0995714b789215c938b2bd455d (patch) | |
| tree | 4b503f7c16fe4f9e52238fa09a0ff38f0be6ac76 /src/config/ConfigManager.cpp | |
| parent | e195a51cd4dd1cb15a04d9b67e3aec67199c5bea (diff) | |
Add follow mouse mode to avoid refocusing under cursor (#2135)
* Add follow mouse mode to avoid refocusing under cursor
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
