mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-11-27 18:24:01 +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) {
|
if (e->delta < 0) {
|
||||||
g_pKeybindManager->m_mDispatchers["workspace"]("-1");
|
g_pKeybindManager->m_mDispatchers["workspace"]("-1");
|
||||||
} else {
|
} else {
|
||||||
g_pKeybindManager->m_mDispatchers["workspace"]("+1");
|
g_pKeybindManager->m_mDispatchers["workspace"]("m+1");
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user