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.
This commit is contained in:
parent
90007b906b
commit
e6c1735bdc
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue