From 7a09d24065050ad5b9490a6be947229ae83cb824 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 4 Nov 2023 17:45:31 +0000 Subject: [PATCH] shadow: fix ignore_window false --- src/render/decorations/CHyprDropShadowDecoration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/decorations/CHyprDropShadowDecoration.cpp b/src/render/decorations/CHyprDropShadowDecoration.cpp index 422cd9b3..38feb512 100644 --- a/src/render/decorations/CHyprDropShadowDecoration.cpp +++ b/src/render/decorations/CHyprDropShadowDecoration.cpp @@ -150,7 +150,7 @@ void CHyprDropShadowDecoration::draw(CMonitor* pMonitor, float a, const Vector2D } fullBox.scale(pMonitor->scale).round(); - g_pHyprOpenGL->renderRoundedShadow(&fullBox, ROUNDING * pMonitor->scale, *PSHADOWSIZE * pMonitor->scale, a, &alphaFB); + g_pHyprOpenGL->renderRoundedShadow(&fullBox, ROUNDING * pMonitor->scale, *PSHADOWSIZE * pMonitor->scale, a, *PSHADOWIGNOREWINDOW ? &alphaFB : nullptr); } eDecorationLayer CHyprDropShadowDecoration::getDecorationLayer() {