internal: add lock files and hyprctl instances
This commit is contained in:
parent
ad3b8dddf9
commit
c748f36939
3 changed files with 116 additions and 2 deletions
|
|
@ -28,8 +28,7 @@
|
|||
#include "hyprerror/HyprError.hpp"
|
||||
#include "plugins/PluginSystem.hpp"
|
||||
|
||||
enum eManagersInitStage
|
||||
{
|
||||
enum eManagersInitStage {
|
||||
STAGE_PRIORITY = 0,
|
||||
STAGE_LATE
|
||||
};
|
||||
|
|
@ -107,6 +106,8 @@ class CCompositor {
|
|||
void initServer();
|
||||
void startCompositor();
|
||||
void cleanup();
|
||||
void createLockFile();
|
||||
void removeLockFile();
|
||||
|
||||
wlr_surface* m_pLastFocus = nullptr;
|
||||
CWindow* m_pLastWindow = nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue