textInput: don't double destroy TI

This commit is contained in:
vaxerski 2023-04-08 15:39:14 +01:00
parent 31963f823b
commit 86852cdc78

View file

@ -135,7 +135,6 @@ static void destroyTI(wl_resource* resource) {
TI->pTextInput->hyprListener_textInputDestroy.emit(nullptr);
g_pInputManager->m_sIMERelay.removeTextInput(TI->pTextInput);
g_pProtocolManager->m_pTextInputV1ProtocolManager->removeTI(TI);
}