Skip to content

Commit

Permalink
compositor: do not process fullscreen events in unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Oct 22, 2023
1 parent 98059b5 commit 015664e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compositor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 015664e

Please sign in to comment.