diff options
| author | outfoxxed <outfoxxed@outfoxxed.me> | 2025-07-08 09:56:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-08 18:56:40 +0200 |
| commit | 78e9eddfb6bfbc6b103fc60c9831b23ef252886b (patch) | |
| tree | 4daf06580d89dec717a282c4ec8729285241c8e8 /src/protocols/InputMethodV2.cpp | |
| parent | 2f34ef141b0728857d2a6f777c608dfe4c207733 (diff) | |
core: use new typed signals from hu (#10853)
Diffstat (limited to 'src/protocols/InputMethodV2.cpp')
| -rw-r--r-- | src/protocols/InputMethodV2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<CZwpInputPopupSurfaceV2> 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<CZwpInputPopupSurfaceV2> 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(); |
