From cb8a6f881b11e9a269fd5f7aa64eafe2beda0b0d Mon Sep 17 00:00:00 2001 From: Darksome Date: Sat, 2 Jul 2022 19:55:35 +0300 Subject: [PATCH] Disallow scrolling into empty workspaces --- src/managers/input/InputManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 94d4b8c8..92a06a4c 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -360,7 +360,7 @@ void CInputManager::onMouseWheel(wlr_pointer_axis_event* e) { if (e->delta < 0) { g_pKeybindManager->m_mDispatchers["workspace"]("-1"); } else { - g_pKeybindManager->m_mDispatchers["workspace"]("+1"); + g_pKeybindManager->m_mDispatchers["workspace"]("m+1"); } return;