mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-25 19:26:00 +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,8 +814,7 @@ void CInputManager::destroyKeyboard(SKeyboard* pKeyboard) {
|
||||||
} else {
|
} else {
|
||||||
m_pActiveKeyboard = nullptr;
|
m_pActiveKeyboard = nullptr;
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
|
|
||||||
m_lKeyboards.remove(*pKeyboard);
|
m_lKeyboards.remove(*pKeyboard);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue