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 {
|
} 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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue