input: allow layout switching and brightness/volume control under session lock

This commit is contained in:
devpa 2026-04-15 10:30:58 +03:00 committed by Lionel DARNIS
parent 4a22c9f3dc
commit 84f9dcbe0e

View file

@ -52,6 +52,14 @@ impl State {
action,
Action::Shortcut(shortcuts::Action::Terminate)
| Action::Shortcut(shortcuts::Action::Debug)
| Action::Shortcut(shortcuts::Action::System(
shortcuts::action::System::InputSourceSwitch
| shortcuts::action::System::BrightnessDown
| shortcuts::action::System::BrightnessUp
| shortcuts::action::System::VolumeLower
| shortcuts::action::System::VolumeRaise
| shortcuts::action::System::Mute,
))
)
{
return;