mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-09 00:21:56 -07:00
fix double remove in destroyKeyboard
This commit is contained in:
@@ -814,9 +814,8 @@ void CInputManager::destroyKeyboard(SKeyboard* pKeyboard) {
|
|||||||
} else {
|
} else {
|
||||||
m_pActiveKeyboard = nullptr;
|
m_pActiveKeyboard = nullptr;
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
|
m_lKeyboards.remove(*pKeyboard);
|
||||||
m_lKeyboards.remove(*pKeyboard);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CInputManager::destroyMouse(wlr_input_device* mouse) {
|
void CInputManager::destroyMouse(wlr_input_device* mouse) {
|
||||||
|
Reference in New Issue
Block a user