diff options
author | vaxerski <[email protected]> | 2023-08-08 20:26:56 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-08-08 20:26:56 +0200 |
commit | ff9ddccf1c613d3cf2890fe5bf29ed9aa1601359 (patch) | |
tree | 54162eb78068ed32bbdcf05db3395cf76bc3278a | |
parent | ff3fdf1e8cb6c6583425221cc8f34776e81dd571 (diff) | |
download | Hyprland-ff9ddccf1c613d3cf2890fe5bf29ed9aa1601359.tar.gz Hyprland-ff9ddccf1c613d3cf2890fe5bf29ed9aa1601359.zip |
fix crash in opaquedamage-ring
-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) |