input: minor fixes for tiv1

This commit is contained in:
vaxerski
2023-03-14 14:37:00 +00:00
parent 0807b8b95f
commit f960f72785
2 changed files with 10 additions and 6 deletions

View File

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