aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-11-04 17:45:31 +0000
committerVaxry <[email protected]>2023-11-04 17:45:31 +0000
commit7a09d24065050ad5b9490a6be947229ae83cb824 (patch)
tree821dd51fec2f950dd8dc3af7fff56671b2ec0888
parenta3e20d2d5f32f5d6e489bd5fa83a8fb6d0da77af (diff)
downloadHyprland-7a09d24065050ad5b9490a6be947229ae83cb824.tar.gz
Hyprland-7a09d24065050ad5b9490a6be947229ae83cb824.zip
shadow: fix ignore_window false
-rw-r--r--src/render/decorations/CHyprDropShadowDecoration.cpp2
1 files changed, 1 insertions, 1 deletions
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() {