diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-12-11 16:53:59 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-12-11 16:53:59 +0000 |
| commit | f97289a3c0c9c5f694d841195b223f581d183d15 (patch) | |
| tree | e3705f384c32dac2c64362e3fe47d42b4101ba41 /src/render/Renderer.cpp | |
| parent | 6381b6474fb6973bfe83526e21bcee08e5e45ecc (diff) | |
fix rendering multi special ws
Diffstat (limited to 'src/render/Renderer.cpp')
| -rw-r--r-- | src/render/Renderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
