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/managers/input/InputMethodPopup.cpp | |
| parent | 2f34ef141b0728857d2a6f777c608dfe4c207733 (diff) | |
core: use new typed signals from hu (#10853)
Diffstat (limited to 'src/managers/input/InputMethodPopup.cpp')
| -rw-r--r-- | src/managers/input/InputMethodPopup.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/managers/input/InputMethodPopup.cpp b/src/managers/input/InputMethodPopup.cpp index 98131168..71fdd5a4 100644 --- a/src/managers/input/InputMethodPopup.cpp +++ b/src/managers/input/InputMethodPopup.cpp @@ -8,10 +8,10 @@ #include "../../render/Renderer.hpp" CInputPopup::CInputPopup(SP<CInputMethodPopupV2> popup_) : m_popup(popup_) { - m_listeners.commit = popup_->m_events.commit.registerListener([this](std::any d) { onCommit(); }); - m_listeners.map = popup_->m_events.map.registerListener([this](std::any d) { onMap(); }); - m_listeners.unmap = popup_->m_events.unmap.registerListener([this](std::any d) { onUnmap(); }); - m_listeners.destroy = popup_->m_events.destroy.registerListener([this](std::any d) { onDestroy(); }); + m_listeners.commit = popup_->m_events.commit.listen([this] { onCommit(); }); + m_listeners.map = popup_->m_events.map.listen([this] { onMap(); }); + m_listeners.unmap = popup_->m_events.unmap.listen([this] { onUnmap(); }); + m_listeners.destroy = popup_->m_events.destroy.listen([this] { onDestroy(); }); m_surface = CWLSurface::create(); m_surface->assign(popup_->surface()); } |
