mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 03:49:51 +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) {
|
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 a new issue