summaryrefslogtreecommitdiff
path: root/src/desktop/Workspace.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-02-22 23:30:10 +0000
committerGitHub <noreply@github.com>2026-02-22 23:30:10 +0000
commitb88813c7efa4b7b0c5fe01471c5fa5b67a61dc7e (patch)
tree4454e82bc033d7e28a23ee372d0e3f48341d0aaa /src/desktop/Workspace.hpp
parentb4ee4674f9a74e3d602c7fb17bc09f79d221583c (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/desktop/Workspace.hpp')
-rw-r--r--src/desktop/Workspace.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/desktop/Workspace.hpp b/src/desktop/Workspace.hpp
index c39e928f..87d1c2d8 100644
--- a/src/desktop/Workspace.hpp
+++ b/src/desktop/Workspace.hpp
@@ -93,13 +93,13 @@ class CWorkspace {
} m_events;
private:
- void init(PHLWORKSPACE self);
+ void init(PHLWORKSPACE self);
- SP<HOOK_CALLBACK_FN> m_focusedWindowHook;
- bool m_inert = true;
+ CHyprSignalListener m_focusedWindowHook;
+ bool m_inert = true;
- SP<CWorkspace> m_selfPersistent; // for persistent workspaces.
- bool m_persistent = false;
+ SP<CWorkspace> m_selfPersistent; // for persistent workspaces.
+ bool m_persistent = false;
};
inline bool valid(const PHLWORKSPACE& ref) {