forge
Explore
Log in

Don't you dare go Hollow

Allow ToggleTouchpad when locked and during screenshot

Browse files at this commit

1fe3353808832f320302ebd856405a99b268c756Ivan MolodetskikhParent: 4e3661b
src/input/mod.rsmodified+2 -0
@@ -4848,6 +4848,7 @@ fn allowed_when_locked(action: &Action) -> bool {
4848 | Action::PowerOnMonitors4848 | Action::PowerOnMonitors
4849 | Action::SwitchLayout(_)4849 | Action::SwitchLayout(_)
4850 | Action::ToggleKeyboardShortcutsInhibit4850 | Action::ToggleKeyboardShortcutsInhibit
4851+ | Action::ToggleTouchpad
4851 )4852 )
4852 }4853 }
4853 4854
@@ -4859,6 +4860,7 @@ fn allowed_during_screenshot(action: &Action) -> bool {
4859 | Action::Suspend4860 | Action::Suspend
4860 | Action::PowerOffMonitors4861 | Action::PowerOffMonitors
4861 | Action::PowerOnMonitors4862 | Action::PowerOnMonitors
4863+ | Action::ToggleTouchpad
4862 // Intended for binds such as volume up/down, lock the screen, etc.4864 // Intended for binds such as volume up/down, lock the screen, etc.
4863 | Action::Spawn(_)4865 | Action::Spawn(_)
4864 | Action::SpawnSh(_)4866 | Action::SpawnSh(_)