impr: no keyboard layout OSD on switching between windows
now if two windows have different layouts, there will be no OSD on switching between them on Alt+Tab GUI: DIGEST: BUG: 418699
This commit is contained in:
parent
3f66aabd48
commit
b127b5f45e
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ void KeyboardInputRedirection::processKey(uint32_t key, InputRedirection::Keyboa
|
|||
|
||||
m_xkb->forwardModifiers();
|
||||
|
||||
if (event.modifiersRelevantForGlobalShortcuts() == Qt::KeyboardModifier::NoModifier) {
|
||||
if (event.modifiersRelevantForGlobalShortcuts() == Qt::KeyboardModifier::NoModifier && type != QEvent::KeyRelease) {
|
||||
m_keyboardLayout->checkLayoutChange(previousLayout);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue