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
This commit is contained in:
parent
2bbab06fc4
commit
db202f5c26
1 changed files with 2 additions and 0 deletions
|
@ -222,8 +222,10 @@ void KeyboardInputRedirection::processKey(uint32_t key, InputRedirection::Keyboa
|
||||||
|
|
||||||
m_xkb->forwardModifiers();
|
m_xkb->forwardModifiers();
|
||||||
|
|
||||||
|
if (event.modifiersRelevantForGlobalShortcuts() == Qt::KeyboardModifier::NoModifier) {
|
||||||
m_keyboardLayout->checkLayoutChange(previousLayout);
|
m_keyboardLayout->checkLayoutChange(previousLayout);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void KeyboardInputRedirection::processModifiers(uint32_t modsDepressed, uint32_t modsLatched, uint32_t modsLocked, uint32_t group)
|
void KeyboardInputRedirection::processModifiers(uint32_t modsDepressed, uint32_t modsLatched, uint32_t modsLocked, uint32_t group)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue