diff options
author | Vaxry <[email protected]> | 2023-11-04 20:11:22 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2023-11-04 20:11:22 +0000 |
commit | 2b07d54bc74f34a3561612bedaa44ad8ab550b8b (patch) | |
tree | f5174a2722742ce7de53b09d8dd8009ae85af050 | |
parent | 66a3719b8613a69890f7e6cb0ebdb107703e42e0 (diff) | |
download | Hyprland-2b07d54bc74f34a3561612bedaa44ad8ab550b8b.tar.gz Hyprland-2b07d54bc74f34a3561612bedaa44ad8ab550b8b.zip |
shadow: fix missed fullBox.scale
-rw-r--r-- | src/render/decorations/CHyprDropShadowDecoration.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/decorations/CHyprDropShadowDecoration.cpp b/src/render/decorations/CHyprDropShadowDecoration.cpp index eb1ed8ca..5341dec9 100644 --- a/src/render/decorations/CHyprDropShadowDecoration.cpp +++ b/src/render/decorations/CHyprDropShadowDecoration.cpp @@ -130,6 +130,8 @@ void CHyprDropShadowDecoration::draw(CMonitor* pMonitor, float a, const Vector2D CFramebuffer& alphaSwapFB = g_pHyprOpenGL->m_RenderData.pCurrentMonData->mirrorSwapFB; auto* LASTFB = g_pHyprOpenGL->m_RenderData.currentFB; + fullBox.scale(pMonitor->scale).round(); + if (*PSHADOWIGNOREWINDOW) { CBox windowBox = m_bLastWindowBox; |