fix: release keys before x11 kb map refresh
This commit is contained in:
parent
141779be1d
commit
6740d30051
1 changed files with 5 additions and 0 deletions
|
|
@ -1903,6 +1903,11 @@ void XWindowsScreen::refreshKeyboard(XEvent *event)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// a later key up after the refresh doesn't properly release modifiers
|
||||||
|
if (!m_isPrimary) {
|
||||||
|
m_keyState->fakeAllKeysUp();
|
||||||
|
}
|
||||||
|
|
||||||
// keyboard mapping changed
|
// keyboard mapping changed
|
||||||
#if HAVE_XKB_EXTENSION
|
#if HAVE_XKB_EXTENSION
|
||||||
if (m_xkb && event->type == m_xkbEventBase) {
|
if (m_xkb && event->type == m_xkbEventBase) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue