From 015664eb4cde5ab93cfacbfd8c2e831eeb876634 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 23 Oct 2023 00:53:33 +0100 Subject: [PATCH] compositor: do not process fullscreen events in unsafe --- src/Compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {