Skip to content

Commit fdbbad0

Browse files
committed
core: enter unsafe state on boot if there are no mons
1 parent 873914a commit fdbbad0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Compositor.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,9 @@ void CCompositor::prepareFallbackOutput() {
716716
}
717717

718718
headless->createOutput();
719+
720+
if (m_monitors.empty())
721+
enterUnsafeState();
719722
}
720723

721724
void CCompositor::startCompositor() {

0 commit comments

Comments
 (0)