Disallow scrolling into empty workspaces

This commit is contained in:
Darksome 2022-07-02 19:55:35 +03:00
parent 185c4d6ea1
commit cb8a6f881b
1 changed files with 1 additions and 1 deletions

View File

@ -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;