diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-20 11:18:01 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-20 11:18:01 +0100 |
| commit | 281cb9fd042d06f63092a9bbe8b4cd444ca212cf (patch) | |
| tree | 3f6074ff8aae7c15d2b2402fa7c1f7bf81fdf2d5 /src/render/Renderer.cpp | |
| parent | a4b026df2b7f94b2985d38b1ef6fb127782c1a27 (diff) | |
fix floating rendering on multimon
Diffstat (limited to 'src/render/Renderer.cpp')
| -rw-r--r-- | src/render/Renderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index d8701629..17ff9494 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -50,7 +50,7 @@ void CHyprRenderer::renderAllClientsForMonitor(const int& ID, timespec* time) { for (auto& w : g_pCompositor->m_lWindows) { - if (w.m_bIsX11 || w.m_iMonitorID != (uint64_t)ID) + if (w.m_bIsX11) continue; wlr_box geometry = { w.m_vRealPosition.x, w.m_vRealPosition.y, w.m_vRealSize.x, w.m_vRealSize.y }; @@ -71,7 +71,7 @@ void CHyprRenderer::renderAllClientsForMonitor(const int& ID, timespec* time) { for (auto& w : g_pCompositor->m_lWindows) { - if (!w.m_bIsX11 || w.m_iMonitorID != (uint64_t)ID) + if (!w.m_bIsX11) continue; if (!g_pCompositor->windowValidMapped(&w)) |
