Commit 14e13a37 authored by David Edmundson's avatar David Edmundson
Browse files

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.

(cherry picked from commit e6c1735b)
parent 983ad242
......@@ -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");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment