diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-28 22:31:39 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-28 22:31:39 +0200 |
| commit | ad4fc28f781e01c95e8fedc039451120f6c21250 (patch) | |
| tree | 59ef955d108a436c7a5491aca983d30010d9f351 /src/helpers/SubsurfaceTree.hpp | |
| parent | 000b16585f8d053eaef1561bcb5989d7a55e6c20 (diff) | |
🎉 Wrapped dynamic event handlers
Diffstat (limited to 'src/helpers/SubsurfaceTree.hpp')
| -rw-r--r-- | src/helpers/SubsurfaceTree.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/helpers/SubsurfaceTree.hpp b/src/helpers/SubsurfaceTree.hpp index df92033a..32a3013e 100644 --- a/src/helpers/SubsurfaceTree.hpp +++ b/src/helpers/SubsurfaceTree.hpp @@ -10,9 +10,9 @@ typedef void (*applyGlobalOffsetFn)(void *, int *, int *); struct SSurfaceTreeNode { wlr_surface* pSurface = nullptr; - DYNMULTILISTENER(newSubsurface); - DYNMULTILISTENER(commit); - DYNMULTILISTENER(destroy); + DYNLISTENER(newSubsurface); + DYNLISTENER(commit); + DYNLISTENER(destroy); SSurfaceTreeNode* pParent = nullptr; SSubsurface* pSubsurface = nullptr; @@ -33,9 +33,9 @@ struct SSubsurface { SSurfaceTreeNode* pParent = nullptr; SSurfaceTreeNode* pChild = nullptr; - DYNMULTILISTENER(map); - DYNMULTILISTENER(unmap); - DYNMULTILISTENER(destroy); + DYNLISTENER(map); + DYNLISTENER(unmap); + DYNLISTENER(destroy); bool operator==(const SSubsurface& rhs) { return pSubsurface == rhs.pSubsurface; |
