From aa5b0d2cda4aa3a06bb80b69dbcbb18ffddb8c8f Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Fri, 6 May 2022 19:34:48 +0200 Subject: add natural scroll opt --- src/managers/InputManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/managers/InputManager.cpp') diff --git a/src/managers/InputManager.cpp b/src/managers/InputManager.cpp index 6647aaeb..b3b6db37 100644 --- a/src/managers/InputManager.cpp +++ b/src/managers/InputManager.cpp @@ -275,7 +275,7 @@ void CInputManager::newMouse(wlr_input_device* mouse) { libinput_device_config_tap_set_enabled(LIBINPUTDEV, LIBINPUT_CONFIG_TAP_ENABLED); if (libinput_device_config_scroll_has_natural_scroll(LIBINPUTDEV)) - libinput_device_config_scroll_set_natural_scroll_enabled(LIBINPUTDEV, 0 /* Natural */); + libinput_device_config_scroll_set_natural_scroll_enabled(LIBINPUTDEV, g_pConfigManager->getInt("input:natural_scroll")); if (libinput_device_config_dwt_is_available(LIBINPUTDEV)) { const auto DWT = static_cast(g_pConfigManager->getInt("input:touchpad:disable_while_typing") != 0); -- cgit v1.2.3