summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2024-02-29 00:03:28 +0000
committerGitHub <noreply@github.com>2024-02-29 00:03:28 +0000
commitb1c0f1cc018d13ac1e5ebccaade5528ec757bd74 (patch)
tree11f62bf58b902b0c0b1732ed3f66aa601dae49fd /src/Window.hpp
parent1e7eb3a5a5419f97b61a3403880b161c85dd7b17 (diff)
subsurface: Rewrite the subsurface tree (#4877)
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp7
1 files changed, 4 insertions, 3 deletions
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 <deque>
@@ -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<CSubsurface> m_pSubsurfaceHead;
// Animated border
CGradientValueData m_cRealBorderColor = {0};