aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cpp')
-rw-r--r--src/Window.cpp2
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)