summaryrefslogtreecommitdiff
path: root/src/layout
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-03-20 01:44:51 +0000
committerVaxry <vaxry@vaxry.net>2024-03-20 01:44:51 +0000
commit8593c45be3cfe8055d13315051d88588f848ad39 (patch)
treeb9957bc79aada13bc54ec82bba06edf6113872f1 /src/layout
parentf6038837bc12a5f22808ceea0641dd9fe17d8094 (diff)
refactor: move window.hpp to desktop/
Diffstat (limited to 'src/layout')
-rw-r--r--src/layout/IHyprLayout.cpp1
-rw-r--r--src/layout/IHyprLayout.hpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp
index 02f39d94..6a32144e 100644
--- a/src/layout/IHyprLayout.cpp
+++ b/src/layout/IHyprLayout.cpp
@@ -3,6 +3,7 @@
#include "../Compositor.hpp"
#include "../render/decorations/CHyprGroupBarDecoration.hpp"
#include "../config/ConfigValue.hpp"
+#include "../desktop/Window.hpp"
void IHyprLayout::onWindowCreated(CWindow* pWindow, eDirection direction) {
if (pWindow->m_bIsFloating) {
diff --git a/src/layout/IHyprLayout.hpp b/src/layout/IHyprLayout.hpp
index d3f8dfa6..b5926a07 100644
--- a/src/layout/IHyprLayout.hpp
+++ b/src/layout/IHyprLayout.hpp
@@ -1,9 +1,10 @@
#pragma once
#include "../defines.hpp"
-#include "../Window.hpp"
#include <any>
+class CWindow;
+
struct SWindowRenderLayoutHints {
bool isBorderGradient = false;
CGradientValueData* borderGradient;