diff options
| author | usering-around <226918848+usering-around@users.noreply.github.com> | 2025-09-28 01:05:30 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-28 00:05:30 +0200 |
| commit | 766acadcf1e6bfc94fa41ea0d47906c9afca8e24 (patch) | |
| tree | 16146ac9f0c37de4073fe0c5d31147a8d25992c0 /src/managers/SeatManager.cpp | |
| parent | ef479ff5392682c3b92d133dee1f7f937f52072b (diff) | |
seat: release depressed modifiers on leave (#11854)
Diffstat (limited to 'src/managers/SeatManager.cpp')
| -rw-r--r-- | src/managers/SeatManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/managers/SeatManager.cpp b/src/managers/SeatManager.cpp index 15316dc6..f354fef6 100644 --- a/src/managers/SeatManager.cpp +++ b/src/managers/SeatManager.cpp @@ -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(); } } |
