From e53294b01e4cf81c2e152b6f444b67dd6cd46f94 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 12 Oct 2026 08:52:01 +0300 Subject: [PATCH] input: Stop key repeat on VT switch and suspend --- src/input/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/input/mod.rs b/src/input/mod.rs index e51d2e85..c0a855a9 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -4676,7 +4676,9 @@ fn find_bind<'a>( modifiers: Modifiers::empty(), }, action, - repeat: true, + // Repeating VT switches and power off doesn't make sense (and it actually happens on + // FreeBSD where it doesn't get released and ends up broken). + repeat: false, cooldown: None, allow_when_locked: false, // In a worst-case scenario, the user has no way to unlock the compositor and a