[wayland] fix ignored keyboard RepeatRate
X11 can take float RepeatRate, Wayland - int only so the setting is to be rounded. Should be indistinguishable on usual rates. BUG: 443721
This commit is contained in:
parent
fda7e150df
commit
4395caa256
1 changed files with 1 additions and 1 deletions
|
@ -2365,7 +2365,7 @@ void InputRedirection::reconfigure()
|
|||
auto inputConfig = m_inputConfigWatcher->config();
|
||||
const auto config = inputConfig->group(QStringLiteral("Keyboard"));
|
||||
const int delay = config.readEntry("RepeatDelay", 660);
|
||||
const int rate = config.readEntry("RepeatRate", 25);
|
||||
const int rate = int(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
|
||||
// to tell the clients that we are indeed repeating keys.
|
||||
|
|
Loading…
Reference in a new issue