diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-02-22 23:30:10 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-22 23:30:10 +0000 |
| commit | b88813c7efa4b7b0c5fe01471c5fa5b67a61dc7e (patch) | |
| tree | 4454e82bc033d7e28a23ee372d0e3f48341d0aaa /src/layout/algorithm/tiled/monocle/MonocleAlgorithm.hpp | |
| parent | b4ee4674f9a74e3d602c7fb17bc09f79d221583c (diff) | |
event: refactor HookSystem into a typed event bus (#13333)
Refactors the old HookSystem into a typed event bus with clear
separation,
discovery and types.
Diffstat (limited to 'src/layout/algorithm/tiled/monocle/MonocleAlgorithm.hpp')
| -rw-r--r-- | src/layout/algorithm/tiled/monocle/MonocleAlgorithm.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/algorithm/tiled/monocle/MonocleAlgorithm.hpp b/src/layout/algorithm/tiled/monocle/MonocleAlgorithm.hpp index e409b885..b23f85be 100644 --- a/src/layout/algorithm/tiled/monocle/MonocleAlgorithm.hpp +++ b/src/layout/algorithm/tiled/monocle/MonocleAlgorithm.hpp @@ -1,7 +1,7 @@ #pragma once #include "../../TiledAlgorithm.hpp" -#include "../../../../managers/HookSystemManager.hpp" +#include "../../../../helpers/signal/Signal.hpp" #include <vector> @@ -38,7 +38,7 @@ namespace Layout::Tiled { private: std::vector<SP<SMonocleTargetData>> m_targetDatas; - SP<HOOK_CALLBACK_FN> m_focusCallback; + CHyprSignalListener m_focusCallback; int m_currentVisibleIndex = 0; |
