mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 15:05:58 +01:00
fix double remove in destroyKeyboard
This commit is contained in:
parent
85d1b06a79
commit
9ba93f4b0a
1 changed files with 2 additions and 3 deletions
|
@ -814,9 +814,8 @@ void CInputManager::destroyKeyboard(SKeyboard* pKeyboard) {
|
|||
} else {
|
||||
m_pActiveKeyboard = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
m_lKeyboards.remove(*pKeyboard);
|
||||
} else
|
||||
m_lKeyboards.remove(*pKeyboard);
|
||||
}
|
||||
|
||||
void CInputManager::destroyMouse(wlr_input_device* mouse) {
|
||||
|
|
Loading…
Reference in a new issue