diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-06-25 20:31:54 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-06-25 20:31:54 +0200 |
| commit | 2955698f2833920c2356429c4cf7771ebf7e2d56 (patch) | |
| tree | b2dcbbe9530f5bcc162bc4e60432fd73509bf321 /src/render/decorations/CHyprDropShadowDecoration.cpp | |
| parent | 747ff3369d6377628e3e27e3b108c8d61cbc5733 (diff) | |
fix fade with deco
Diffstat (limited to 'src/render/decorations/CHyprDropShadowDecoration.cpp')
| -rw-r--r-- | src/render/decorations/CHyprDropShadowDecoration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/decorations/CHyprDropShadowDecoration.cpp b/src/render/decorations/CHyprDropShadowDecoration.cpp index 528e00cf..6933e687 100644 --- a/src/render/decorations/CHyprDropShadowDecoration.cpp +++ b/src/render/decorations/CHyprDropShadowDecoration.cpp @@ -37,7 +37,7 @@ void CHyprDropShadowDecoration::updateWindow(CWindow* pWindow) { damageEntire(); } -void CHyprDropShadowDecoration::draw(SMonitor* pMonitor) { +void CHyprDropShadowDecoration::draw(SMonitor* pMonitor, float a) { if (!g_pCompositor->windowValidMapped(m_pWindow)) return; @@ -62,5 +62,5 @@ void CHyprDropShadowDecoration::draw(SMonitor* pMonitor) { fullBox.x -= pMonitor->vecPosition.x; fullBox.y -= pMonitor->vecPosition.y; - g_pHyprOpenGL->renderRoundedShadow(&fullBox, *PROUNDING, *PSHADOWSIZE); + g_pHyprOpenGL->renderRoundedShadow(&fullBox, *PROUNDING, *PSHADOWSIZE, a); } |
