Commit a6f3d44d authored by David Edmundson's avatar David Edmundson
Browse files

Guard against reconfiguring wayland specific input on X11

reconfigure is hooked up to a config watcher that is applicable on X11
and wayland.

A runtime check is added to reconfigure, if we're not initialised we
have nothing to reconfigure. initialise calls reconfigure at the end of
the method.


(cherry picked from commit a43ef8ac)
parent eb6e7ded
Pipeline #249408 failed with stage
in 18 minutes and 37 seconds
......@@ -156,6 +156,9 @@ void KeyboardInputRedirection::init()
void KeyboardInputRedirection::reconfigure()
{
if (!m_inited) {
return;
}
if (waylandServer()->seat()->keyboard()) {
const auto config = InputConfig::self()->inputConfig()->group(QStringLiteral("Keyboard"));
const int delay = config.readEntry("RepeatDelay", 660);
......
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