seat: release depressed modifiers on leave (#11854)

This commit is contained in:
usering-around 2025-09-28 01:05:30 +03:00 committed by GitHub
parent ef479ff539
commit 766acadcf1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,6 +129,7 @@ void CSeatManager::setKeyboardFocus(SP<CWLSurfaceResource> surf) {
if (!k)
continue;
k->sendMods(0, m_keyboard->m_modifiersState.latched, m_keyboard->m_modifiersState.locked, m_keyboard->m_modifiersState.group);
k->sendLeave();
}
}