Commit 5702c3f1 authored by Martin Flöser's avatar Martin Flöser
Browse files

Fix Xkb::shouldKeyRepeat

Was missing the magic +8 offset.
parent 56e3b5b1
...@@ -361,7 +361,7 @@ bool Xkb::shouldKeyRepeat(quint32 key) const ...@@ -361,7 +361,7 @@ bool Xkb::shouldKeyRepeat(quint32 key) const
if (!m_keymap) { if (!m_keymap) {
return false; return false;
} }
return xkb_keymap_key_repeats(m_keymap, key) != 0; return xkb_keymap_key_repeats(m_keymap, key + 8) != 0;
} }
void Xkb::switchToNextLayout() void Xkb::switchToNextLayout()
......
Markdown is supported
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