From 1fe3353808832f320302ebd856405a99b268c756 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 11 Oct 2026 13:26:55 +0300 Subject: [PATCH] Allow ToggleTouchpad when locked and during screenshot --- src/input/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/input/mod.rs b/src/input/mod.rs index 65951a99..e51d2e85 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -4848,6 +4848,7 @@ fn allowed_when_locked(action: &Action) -> bool { | Action::PowerOnMonitors | Action::SwitchLayout(_) | Action::ToggleKeyboardShortcutsInhibit + | Action::ToggleTouchpad ) } @@ -4859,6 +4860,7 @@ fn allowed_during_screenshot(action: &Action) -> bool { | Action::Suspend | Action::PowerOffMonitors | Action::PowerOnMonitors + | Action::ToggleTouchpad // Intended for binds such as volume up/down, lock the screen, etc. | Action::Spawn(_) | Action::SpawnSh(_)