Initialize priority managers before server init
This commit is contained in:
parent
8e5ee31f30
commit
dc7d783d14
4 changed files with 97 additions and 82 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue