fix rendering multi special ws

This commit is contained in:
vaxerski 2022-12-11 16:53:59 +00:00
parent 6381b6474f
commit f97289a3c0

View file

@ -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;