From 78e9eddfb6bfbc6b103fc60c9831b23ef252886b Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Tue, 8 Jul 2025 09:56:40 -0700 Subject: core: use new typed signals from hu (#10853) --- src/protocols/InputMethodV2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/protocols/InputMethodV2.cpp') diff --git a/src/protocols/InputMethodV2.cpp b/src/protocols/InputMethodV2.cpp index 63f9f33f..7826a962 100644 --- a/src/protocols/InputMethodV2.cpp +++ b/src/protocols/InputMethodV2.cpp @@ -89,7 +89,7 @@ CInputMethodPopupV2::CInputMethodPopupV2(SP resource_, m_surface = surface; - m_listeners.destroySurface = surface->m_events.destroy.registerListener([this](std::any d) { + m_listeners.destroySurface = surface->m_events.destroy.listen([this] { if (m_mapped) m_events.unmap.emit(); @@ -102,7 +102,7 @@ CInputMethodPopupV2::CInputMethodPopupV2(SP resource_, m_surface.reset(); }); - m_listeners.commitSurface = surface->m_events.commit.registerListener([this](std::any d) { + m_listeners.commitSurface = surface->m_events.commit.listen([this] { if (m_surface->m_current.texture && !m_mapped) { m_mapped = true; m_surface->map(); -- cgit v1.2.3