From d83296c7a9029eccc04544ddf0a8387d8104b882 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Tue, 27 Jun 2023 13:23:53 +0200 Subject: [PATCH] renderer: damage decos on damageWindow --- src/render/Renderer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index c9096ba05..500af1912 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -1436,6 +1436,9 @@ void CHyprRenderer::damageWindow(CWindow* pWindow) { m->addDamage(&fixedDamageBox); } + for (auto& wd : pWindow->m_dWindowDecorations) + wd->damageEntire(); + static auto* const PLOGDAMAGE = &g_pConfigManager->getConfigValuePtr("debug:log_damage")->intValue; if (*PLOGDAMAGE)