From b1c0f1cc018d13ac1e5ebccaade5528ec757bd74 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Thu, 29 Feb 2024 00:03:28 +0000 Subject: subsurface: Rewrite the subsurface tree (#4877) --- src/Window.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Window.hpp') diff --git a/src/Window.hpp b/src/Window.hpp index f8ba4180..2d7bc986 100644 --- a/src/Window.hpp +++ b/src/Window.hpp @@ -1,7 +1,7 @@ #pragma once #include "defines.hpp" -#include "helpers/SubsurfaceTree.hpp" +#include "helpers/Subsurface.hpp" #include "helpers/AnimatedVariable.hpp" #include "render/decorations/IHyprWindowDecoration.hpp" #include @@ -276,9 +276,10 @@ class CWindow { bool m_bWantsInitialFullscreen = false; // bitfield eSuppressEvents - uint64_t m_eSuppressedEvents = SUPPRESS_NONE; + uint64_t m_eSuppressedEvents = SUPPRESS_NONE; - SSurfaceTreeNode* m_pSurfaceTree = nullptr; + // for the subsurface tree + std::unique_ptr m_pSubsurfaceHead; // Animated border CGradientValueData m_cRealBorderColor = {0}; -- cgit v1.2.3