Fix Xkb::shouldKeyRepeat
Was missing the magic +8 offset.
This commit is contained in:
parent
56e3b5b116
commit
5702c3f1bf
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue