From b88813c7efa4b7b0c5fe01471c5fa5b67a61dc7e Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sun, 22 Feb 2026 23:30:10 +0000 Subject: event: refactor HookSystem into a typed event bus (#13333) Refactors the old HookSystem into a typed event bus with clear separation, discovery and types. --- src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp') diff --git a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp index a2a9316e..109aa99e 100644 --- a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp +++ b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp @@ -1,9 +1,9 @@ #pragma once #include "../../TiledAlgorithm.hpp" -#include "../../../../managers/HookSystemManager.hpp" #include "../../../../helpers/math/Direction.hpp" #include "ScrollTapeController.hpp" +#include "../../../../helpers/signal/Signal.hpp" #include @@ -112,11 +112,11 @@ namespace Layout::Tiled { CBox usableArea(); private: - SP m_scrollingData; + SP m_scrollingData; - SP m_configCallback; - SP m_focusCallback; - SP m_mouseButtonCallback; + CHyprSignalListener m_configCallback; + CHyprSignalListener m_focusCallback; + CHyprSignalListener m_mouseButtonCallback; struct { std::vector configuredWidths; -- cgit v1.2.3