fix: redundant keyboard layout OSD notification

there is no need to display the OSD for window we are going to switch from

DIGEST:
BUG: 426122
master
Andrey Butirsky 2020-09-02 19:53:05 +03:00 committed by David Edmundson
parent 2bbab06fc4
commit db202f5c26
1 changed files with 2 additions and 0 deletions

View File

@ -222,7 +222,9 @@ void KeyboardInputRedirection::processKey(uint32_t key, InputRedirection::Keyboa
m_xkb->forwardModifiers();
if (event.modifiersRelevantForGlobalShortcuts() == Qt::KeyboardModifier::NoModifier) {
m_keyboardLayout->checkLayoutChange(previousLayout);
}
}
void KeyboardInputRedirection::processModifiers(uint32_t modsDepressed, uint32_t modsLatched, uint32_t modsLocked, uint32_t group)