Fix inconsistent default keyboard delay value used in kwin.
plasma-desktop/keyboard/keyboardmiscsettings.kcfg has the default value 600. When default value (600) is set from kcm, kwin will wrongly use its own default value in the code (660, which is most likely due to a typo when the code is initially written).
This commit is contained in:
parent
38e2bf34cf
commit
8c6ebee318
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ void KeyboardInputRedirection::reconfigure()
|
|||
}
|
||||
if (waylandServer()->seat()->keyboard()) {
|
||||
const auto config = kwinApp()->inputConfig()->group(QStringLiteral("Keyboard"));
|
||||
const int delay = config.readEntry("RepeatDelay", 660);
|
||||
const int delay = config.readEntry("RepeatDelay", 600);
|
||||
const int rate = std::ceil(config.readEntry("RepeatRate", 25.0));
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue