diff options
-rw-r--r-- | src/Window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.cpp b/src/Window.cpp index f48d27f1..d66e6ebe 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -766,7 +766,7 @@ bool CWindow::opaque() { const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(m_iWorkspaceID); - if (PWORKSPACE->m_fAlpha.fl() != 1.f) + if (PWORKSPACE && PWORKSPACE->m_fAlpha.fl() != 1.f) return false; if (m_bIsX11) |