From fdbbad04bbf2382e9a980418c976668fc062f195 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 22 Jul 2025 11:14:04 +0200 Subject: [PATCH] core: enter unsafe state on boot if there are no mons --- src/Compositor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index abfa8d84..53f79012 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -716,6 +716,9 @@ void CCompositor::prepareFallbackOutput() { } headless->createOutput(); + + if (m_monitors.empty()) + enterUnsafeState(); } void CCompositor::startCompositor() {