diff options
| author | Mathias Zhang <zsy3141592@163.com> | 2022-07-12 19:11:54 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-12 13:11:54 +0200 |
| commit | da83ef7b96fdee7396382712f9f2115ef4664666 (patch) | |
| tree | 47f514754a62e7b1bd99c80e9f0e9b9bf0b084af /src/config/ConfigManager.cpp | |
| parent | 2d856ac4b08826ff83c42e97176f4f739442aefa (diff) | |
add config drag_lock for touchpad (#353)
* add config drag_lock for touchpad
* fix err
* Update ConfigManager.cpp
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 077627aa..0243d2fe 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -106,6 +106,7 @@ void CConfigManager::setDefaultVars() { configValues["input:touchpad:clickfinger_behavior"].intValue = 0; configValues["input:touchpad:middle_button_emulation"].intValue = 0; configValues["input:touchpad:tap-to-click"].intValue = 1; + configValues["input:touchpad:drag_lock"].intValue = 0; configValues["gestures:workspace_swipe"].intValue = 0; configValues["gestures:workspace_swipe_distance"].intValue = 300; @@ -134,6 +135,7 @@ void CConfigManager::setDeviceDefaultVars(const std::string& dev) { cfgValues["clickfinger_behavior"].intValue = 0; cfgValues["middle_button_emulation"].intValue = 0; cfgValues["tap-to-click"].intValue = 1; + cfgValues["drag_lock"].intValue = 0; } void CConfigManager::init() { |
