From e6c1735bdcbfdebfd5976ba7c5578b6aa16d5e6c Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Thu, 28 Jan 2021 09:17:47 +0000 Subject: [PATCH] Restore default key repeat mode Key repeat is the default we had in 5.20, albeit under a different key. This changes for the key repeat was reverted elsewhere, but we need to adjust the wayland default. --- input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.cpp b/input.cpp index 49d1d44a8b..75631c864c 100644 --- a/input.cpp +++ b/input.cpp @@ -2263,7 +2263,7 @@ void InputRedirection::reconfigure() const auto config = inputConfig->group(QStringLiteral("Keyboard")); const int delay = config.readEntry("RepeatDelay", 660); const int rate = config.readEntry("RepeatRate", 25); - const QString repeatMode = config.readEntry("KeyRepeat", "accent"); + const QString repeatMode = config.readEntry("KeyRepeat", "repeat"); // when the clients will repeat the character or turn repeat key events into an accent character selection, we want // to tell the clients that we are indeed repeating keys. const bool enabled = repeatMode == QLatin1String("accent") || repeatMode == QLatin1String("repeat");