aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-08-08 16:16:34 +0200
committervaxerski <[email protected]>2023-08-08 16:16:40 +0200
commitc748f36939cdac74332dde3afb866ad35bea1825 (patch)
tree1ef2c1593bdfd8a42520e0b891aac9c9fade3b16 /src/Compositor.hpp
parentad3b8dddf993736fe2d716e4cdc5c079e511da2e (diff)
downloadHyprland-c748f36939cdac74332dde3afb866ad35bea1825.tar.gz
Hyprland-c748f36939cdac74332dde3afb866ad35bea1825.zip
internal: add lock files and hyprctl instances
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index 1be02e62..971b0fa2 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -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;