diff options
| author | Darksome <dev@darkso.me> | 2022-06-24 18:57:14 +0300 |
|---|---|---|
| committer | Darksome <dev@darkso.me> | 2022-06-24 18:57:14 +0300 |
| commit | 776ca3baf269059e8c13ba8b625645215e71f78c (patch) | |
| tree | 389ac506d7aaba493cc565ff34c5de1ad40228d4 /src/managers/input/InputManager.cpp | |
| parent | 8f62f6d4b0dbf18f1857e13831638a7d3615aeee (diff) | |
Change workspace wheel scrolling direction
Diffstat (limited to 'src/managers/input/InputManager.cpp')
| -rw-r--r-- | src/managers/input/InputManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index fefc4047..826354f1 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -236,7 +236,7 @@ void CInputManager::onMouseWheel(wlr_pointer_axis_event* e) { if (wlr_keyboard_get_modifiers(PKEYBOARD) == (uint32_t)g_pConfigManager->getInt("general:main_mod_internal") && e->source == WLR_AXIS_SOURCE_WHEEL && e->orientation == WLR_AXIS_ORIENTATION_VERTICAL) { - if (e->delta > 0) { + if (e->delta < 0) { g_pKeybindManager->m_mDispatchers["workspace"]("-1"); } else { g_pKeybindManager->m_mDispatchers["workspace"]("+1"); |
