diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-03-26 02:26:09 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-03-26 02:26:19 +0000 |
| commit | a9d7526aae38dcdceb391fe9f00919c6c400abe3 (patch) | |
| tree | f284e380e2af65a02820f8910ffdcb8104a8535d /src/Compositor.cpp | |
| parent | 414e37996d0c33a5792b8698146792a2a0359b93 (diff) | |
core: ensure m_pLastMonitor validity over unsafe state
ref #5241
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 2d6e7856..68db0091 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -2808,6 +2808,8 @@ void CCompositor::enterUnsafeState() { m_pUnsafeOutput->onConnect(false); m_bUnsafeState = true; + + setActiveMonitor(m_pUnsafeOutput); } void CCompositor::leaveUnsafeState() { |
