summaryrefslogtreecommitdiff
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2022-08-10 21:54:09 +0200
committervaxerski <vaxry@vaxry.net>2022-08-10 21:54:09 +0200
commit58ff04fdf3124fbe739193cb1a8070c85bec166b (patch)
tree5b5a2171025f93749a15be248e0f4652fbfc3fc8 /src/Compositor.hpp
parent9b39a0c2e0fb3ad4500c132dc975580f90eb1c08 (diff)
added experimental monitor saving
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index 73394d89..f7a131ae 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -97,6 +97,7 @@ public:
bool m_bReadyToProcess = false;
bool m_bSessionActive = true;
bool m_bDPMSStateON = true;
+ bool m_bUnsafeState = false; // unsafe state is when there is no monitors.
// ------------------------------------------------- //
@@ -158,6 +159,7 @@ public:
SLayerSurface* getLayerSurfaceFromWlr(wlr_layer_surface_v1*);
SLayerSurface* getLayerSurfaceFromSurface(wlr_surface*);
void closeWindow(CWindow*);
+
std::string explicitConfigPath;