mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-25 00:30:03 +01:00
seat: release depressed modifiers on leave (#11854)
This commit is contained in:
parent
ef479ff539
commit
766acadcf1
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue