core: cleanup header includes (#9088)
Cleanup some unneeded includes to speed up compilation
This commit is contained in:
parent
0dc7367a70
commit
2bad73354a
97 changed files with 224 additions and 72 deletions
|
|
@ -3,6 +3,8 @@
|
|||
#include "../../config/ConfigValue.hpp"
|
||||
#include "../../managers/eventLoop/EventLoopManager.hpp"
|
||||
#include "../pass/BorderPassElement.hpp"
|
||||
#include "../Renderer.hpp"
|
||||
#include "../../managers/HookSystemManager.hpp"
|
||||
|
||||
CHyprBorderDecoration::CHyprBorderDecoration(PHLWINDOW pWindow) : IHyprWindowDecoration(pWindow), m_pWindow(pWindow) {
|
||||
;
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
#include "../../Compositor.hpp"
|
||||
#include "../../config/ConfigValue.hpp"
|
||||
#include "../pass/ShadowPassElement.hpp"
|
||||
#include "../Renderer.hpp"
|
||||
|
||||
CHyprDropShadowDecoration::CHyprDropShadowDecoration(PHLWINDOW pWindow) : IHyprWindowDecoration(pWindow), m_pWindow(pWindow) {
|
||||
;
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@
|
|||
#include <pango/pangocairo.h>
|
||||
#include "../pass/TexPassElement.hpp"
|
||||
#include "../pass/RectPassElement.hpp"
|
||||
#include "../Renderer.hpp"
|
||||
#include "../../managers/input/InputManager.hpp"
|
||||
|
||||
// shared things to conserve VRAM
|
||||
static SP<CTexture> m_tGradientActive = makeShared<CTexture>();
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#include "DecorationPositioner.hpp"
|
||||
#include "../../Compositor.hpp"
|
||||
#include "../../desktop/Window.hpp"
|
||||
#include "../../managers/HookSystemManager.hpp"
|
||||
#include "../../managers/LayoutManager.hpp"
|
||||
|
||||
CDecorationPositioner::CDecorationPositioner() {
|
||||
static auto P = g_pHookSystem->hookDynamic("closeWindow", [this](void* call, SCallbackInfo& info, std::any data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue