diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-10-23 00:53:33 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-10-23 00:53:33 +0100 |
| commit | 015664eb4cde5ab93cfacbfd8c2e831eeb876634 (patch) | |
| tree | eab28ff294d82bc28ce2983bd88b8c581de2d382 /src/Compositor.cpp | |
| parent | 98059b52d759965916e0185ca35a01cc20a797b6 (diff) | |
compositor: do not process fullscreen events in unsafe
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 20656243..1163acca 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -2170,7 +2170,7 @@ void CCompositor::updateFullscreenFadeOnWorkspace(CWorkspace* pWorkspace) { } void CCompositor::setWindowFullscreen(CWindow* pWindow, bool on, eFullscreenMode mode) { - if (!windowValidMapped(pWindow)) + if (!windowValidMapped(pWindow) || g_pCompositor->m_bUnsafeState) return; if (pWindow->m_bPinned) { |
