compositor: do not process fullscreen events in unsafe

This commit is contained in:
Vaxry 2023-10-23 00:53:33 +01:00
parent 98059b52d7
commit 015664eb4c

View file

@ -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) {