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,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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user