From ad4fc28f781e01c95e8fedc039451120f6c21250 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 28 Mar 2022 22:31:39 +0200 Subject: =?UTF-8?q?=F0=9F=8E=89=20Wrapped=20dynamic=20event=20handlers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/helpers/SubsurfaceTree.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/helpers/SubsurfaceTree.hpp') 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; -- cgit v1.2.3