aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-11-04 20:11:22 +0000
committerVaxry <[email protected]>2023-11-04 20:11:22 +0000
commit2b07d54bc74f34a3561612bedaa44ad8ab550b8b (patch)
treef5174a2722742ce7de53b09d8dd8009ae85af050
parent66a3719b8613a69890f7e6cb0ebdb107703e42e0 (diff)
downloadHyprland-2b07d54bc74f34a3561612bedaa44ad8ab550b8b.tar.gz
Hyprland-2b07d54bc74f34a3561612bedaa44ad8ab550b8b.zip
shadow: fix missed fullBox.scale
-rw-r--r--src/render/decorations/CHyprDropShadowDecoration.cpp2
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;