aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-08-24 20:42:16 +0200
committerVaxry <[email protected]>2024-08-24 20:42:16 +0200
commit746f80456840fbaeb056edbbbd233377b6cf1c9d (patch)
tree8ef9e7f645f3ca90b532fb013994145064634e5e
parent00319c01d4a6919f0036e21f1a19e8309ddecb81 (diff)
downloadHyprland-746f80456840fbaeb056edbbbd233377b6cf1c9d.tar.gz
Hyprland-746f80456840fbaeb056edbbbd233377b6cf1c9d.zip
oops
-rw-r--r--src/render/Renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp
index 828d35cf..76076093 100644
--- a/src/render/Renderer.cpp
+++ b/src/render/Renderer.cpp
@@ -516,7 +516,7 @@ void CHyprRenderer::renderWorkspaceWindows(CMonitor* pMonitor, PHLWORKSPACE pWor
if (k == pWorkspace)
continue;
- const bool SCALE = k->m_fScaleClients.value() != 1.F && g_pCompositor->getWindowsOnWorkspace(k->m_iID) > 0;
+ const bool SCALE = k && k->m_fScaleClients.value() != 1.F && g_pCompositor->getWindowsOnWorkspace(k->m_iID) > 0;
if (SCALE)
preWorkspaceScaleAnim();