diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2022-10-05 08:06:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-05 08:06:38 +0100 |
| commit | 9153a8109071b4301a9703f6e01285ec5bd091d0 (patch) | |
| tree | 3c8f5494a9f04afecc7263cd2ee30db51f23b86c /src/managers/input/InputManager.cpp | |
| parent | 44da575ea87d5f6a919d0d84ff44d021f5b30699 (diff) | |
| parent | 0d7f6eac9e8e71e7ec82a00640f5f6dfc042d5b5 (diff) | |
Merge pull request #781 from Dickby/fix_left_handed
Fix getDeviceInt string arg "input:left_handed"
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 56e03b8f..eef83a3d 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -692,7 +692,7 @@ void CInputManager::setMouseConfigs() { else libinput_device_config_click_set_method(LIBINPUTDEV, LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER); - if ((HASCONFIG ? g_pConfigManager->getDeviceInt(devname, "left_handed") : g_pConfigManager->getInt("input:touchpad:left_handed")) == 0) + if ((HASCONFIG ? g_pConfigManager->getDeviceInt(devname, "left_handed") : g_pConfigManager->getInt("input:left_handed")) == 0) libinput_device_config_left_handed_set(LIBINPUTDEV, 0); else libinput_device_config_left_handed_set(LIBINPUTDEV, 1); @@ -1036,4 +1036,4 @@ void CInputManager::newSwitch(wlr_input_device* pDevice) { void CInputManager::destroySwitch(SSwitchDevice* pDevice) { m_lSwitches.remove(*pDevice); -}
\ No newline at end of file +} |
