From adbae0f74d951e06c575bad3c81a944027dfe413 Mon Sep 17 00:00:00 2001 From: davc0n Date: Sun, 4 May 2025 00:13:29 +0200 Subject: protocols: refactor class member vars (a-m) (#10265) --- src/managers/input/InputMethodPopup.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/managers/input/InputMethodPopup.cpp') diff --git a/src/managers/input/InputMethodPopup.cpp b/src/managers/input/InputMethodPopup.cpp index ac526c7b..98131168 100644 --- a/src/managers/input/InputMethodPopup.cpp +++ b/src/managers/input/InputMethodPopup.cpp @@ -8,10 +8,10 @@ #include "../../render/Renderer.hpp" CInputPopup::CInputPopup(SP popup_) : m_popup(popup_) { - m_listeners.commit = popup_->events.commit.registerListener([this](std::any d) { onCommit(); }); - m_listeners.map = popup_->events.map.registerListener([this](std::any d) { onMap(); }); - m_listeners.unmap = popup_->events.unmap.registerListener([this](std::any d) { onUnmap(); }); - m_listeners.destroy = popup_->events.destroy.registerListener([this](std::any d) { onDestroy(); }); + 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_surface = CWLSurface::create(); m_surface->assign(popup_->surface()); } @@ -77,7 +77,7 @@ void CInputPopup::damageSurface() { } void CInputPopup::updateBox() { - if (!m_popup->mapped) + if (!m_popup->m_mapped) return; const auto OWNER = queryOwner(); -- cgit v1.2.3