This commit is contained in:
Vaxry 2024-08-24 20:42:16 +02:00
parent 00319c01d4
commit 746f804568

View file

@ -516,7 +516,7 @@ void CHyprRenderer::renderWorkspaceWindows(CMonitor* pMonitor, PHLWORKSPACE pWor
if (k == pWorkspace) if (k == pWorkspace)
continue; 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) if (SCALE)
preWorkspaceScaleAnim(); preWorkspaceScaleAnim();