From 746f80456840fbaeb056edbbbd233377b6cf1c9d Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 24 Aug 2024 20:42:16 +0200 Subject: [PATCH] oops --- src/render/Renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();