mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-11-24 05:47:06 +03:00
Disallow scrolling into empty workspaces
This commit is contained in:
parent
185c4d6ea1
commit
cb8a6f881b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user