diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 1bca6e34..07642460 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -89,7 +89,7 @@ bool CHyprRenderer::shouldRenderWindow(CWindow* pWindow, CMonitor* pMonitor) { if (g_pCompositor->isWorkspaceVisible(pWindow->m_iWorkspaceID) && pWindow->m_bIsFloating /* tiled windows can't be multi-ws */) return !pWindow->m_bIsFullscreen; // Do not draw fullscreen windows on other monitors - if (pMonitor->specialWorkspaceID && g_pCompositor->isWorkspaceSpecial(pWindow->m_iWorkspaceID)) + if (pMonitor->specialWorkspaceID == pWindow->m_iWorkspaceID) return true; return false;