mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-10 08:25:58 +01:00
Disallow scrolling into empty workspaces
This commit is contained in:
parent
185c4d6ea1
commit
cb8a6f881b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue