From 00747fc6df0f14ade39e91e44c98b3e2c7829f7a Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 1 Aug 2022 20:32:46 +0200 Subject: [PATCH] fix preWindowPass with floating as first --- src/render/OpenGL.cpp | 2 +- src/render/Renderer.cpp | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index a6db359a..3df67aa8 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -627,7 +627,7 @@ void CHyprOpenGLImpl::preWindowPass() { bool hasWindows = false; for (auto& w : g_pCompositor->m_vWindows) { - if (w->m_iWorkspaceID == m_RenderData.pMonitor->activeWorkspace && !w->m_bHidden && w->m_bIsMapped) { + if (w->m_iWorkspaceID == m_RenderData.pMonitor->activeWorkspace && !w->m_bHidden && w->m_bIsMapped && !w->m_bIsFloating) { hasWindows = true; break; } diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index b3778230..e46775da 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -711,9 +711,6 @@ void CHyprRenderer::damageMonitor(CMonitor* pMonitor) { wlr_box damageBox = {0, 0, pMonitor->vecPixelSize.x, pMonitor->vecPixelSize.y}; wlr_output_damage_add_box(pMonitor->damage, &damageBox); - // TODO: this should NOT be required here. - g_pHyprOpenGL->markBlurDirtyForMonitor(pMonitor); - static auto *const PLOGDAMAGE = &g_pConfigManager->getConfigValuePtr("debug:log_damage")->intValue; if (*PLOGDAMAGE)