diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-05 13:37:21 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-03-05 13:37:21 +0000 |
| commit | dc7d783d1439b92b16bfe1851c2b699e7c7267e0 (patch) | |
| tree | 2af2c88d1588d45a56365f489b6be0effede4441 /src/Compositor.hpp | |
| parent | 8e5ee31f300323331a33bc58123b7fe2f5bee4a6 (diff) | |
Initialize priority managers before server init
Diffstat (limited to 'src/Compositor.hpp')
| -rw-r--r-- | src/Compositor.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp index a3587600..c346df0c 100644 --- a/src/Compositor.hpp +++ b/src/Compositor.hpp @@ -28,6 +28,12 @@ #include "hyprerror/HyprError.hpp" #include "plugins/PluginSystem.hpp" +enum eManagersInitStage +{ + STAGE_PRIORITY = 0, + STAGE_LATE +}; + class CCompositor { public: CCompositor(); @@ -93,6 +99,7 @@ class CCompositor { std::vector<CWindow*> m_vWindowsFadingOut; std::vector<SLayerSurface*> m_vSurfacesFadingOut; + void initServer(); void startCompositor(); void cleanup(); @@ -188,6 +195,7 @@ class CCompositor { private: void initAllSignals(); void setRandomSplash(); + void initManagers(eManagersInitStage stage); uint64_t m_iHyprlandPID = 0; }; |
