mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-05 14:42:01 -07:00
Disallow scrolling into empty workspaces
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user