forge
Explore
Log in

Don't you dare go Hollow

input: Stop key repeat on VT switch and suspend

Browse files at this commit

e53294b01e4cf81c2e152b6f444b67dd6cd46f94Ivan MolodetskikhParent: bb38b7e
src/input/mod.rsmodified+3 -1
@@ -4676,7 +4676,9 @@ fn find_bind<'a>(
4676 modifiers: Modifiers::empty(),4676 modifiers: Modifiers::empty(),
4677 },4677 },
4678 action,4678 action,
4679- repeat: true,4679+ // Repeating VT switches and power off doesn't make sense (and it actually happens on
4680+ // FreeBSD where it doesn't get released and ends up broken).
4681+ repeat: false,
4680 cooldown: None,4682 cooldown: None,
4681 allow_when_locked: false,4683 allow_when_locked: false,
4682 // In a worst-case scenario, the user has no way to unlock the compositor and a4684 // In a worst-case scenario, the user has no way to unlock the compositor and a