From e2c78c00e50a0835c3830c8a0cd82049dc5700b8 Mon Sep 17 00:00:00 2001 From: Ikalco <73481042+ikalco@users.noreply.github.com> Date: Tue, 17 Dec 2024 10:31:27 -0600 Subject: internal: remove dead code (#8748) --- src/managers/input/InputMethodRelay.cpp | 4 ---- src/managers/input/InputMethodRelay.hpp | 1 - 2 files changed, 5 deletions(-) (limited to 'src/managers') diff --git a/src/managers/input/InputMethodRelay.cpp b/src/managers/input/InputMethodRelay.cpp index 5ef7f331..88439924 100644 --- a/src/managers/input/InputMethodRelay.cpp +++ b/src/managers/input/InputMethodRelay.cpp @@ -68,10 +68,6 @@ void CInputMethodRelay::onNewIME(SP pIME) { } } -void CInputMethodRelay::setIMEPopupFocus(CInputPopup* pPopup, SP pSurface) { - pPopup->onCommit(); -} - void CInputMethodRelay::removePopup(CInputPopup* pPopup) { std::erase_if(m_vIMEPopups, [pPopup](const auto& other) { return other.get() == pPopup; }); } diff --git a/src/managers/input/InputMethodRelay.hpp b/src/managers/input/InputMethodRelay.hpp index 3d706563..998e1fc6 100644 --- a/src/managers/input/InputMethodRelay.hpp +++ b/src/managers/input/InputMethodRelay.hpp @@ -30,7 +30,6 @@ class CInputMethodRelay { CTextInput* getFocusedTextInput(); - void setIMEPopupFocus(CInputPopup*, SP); void removePopup(CInputPopup*); CInputPopup* popupFromCoords(const Vector2D& point); -- cgit v1.2.3