summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
authorMightyPlaza <123664421+MightyPlaza@users.noreply.github.com>2023-08-12 21:37:55 +0000
committerGitHub <noreply@github.com>2023-08-12 23:37:55 +0200
commit739598717bbff79aad8599dcd0ca7a423682482a (patch)
tree8c347d1564743c3e74ffd28fc7c1c13077f35a9d /src/render
parentd20837bef8a41d6bf1732b0e8968b7f2feb9a93f (diff)
remove shadow no_gaps_when_only (#2956)
modified: src/Window.hpp modified: src/config/ConfigManager.cpp modified: src/config/ConfigManager.hpp modified: src/layout/DwindleLayout.cpp modified: src/render/decorations/CHyprDropShadowDecoration.cpp
Diffstat (limited to 'src/render')
-rw-r--r--src/render/decorations/CHyprDropShadowDecoration.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/decorations/CHyprDropShadowDecoration.cpp b/src/render/decorations/CHyprDropShadowDecoration.cpp
index 62e07e14..15f993c9 100644
--- a/src/render/decorations/CHyprDropShadowDecoration.cpp
+++ b/src/render/decorations/CHyprDropShadowDecoration.cpp
@@ -59,6 +59,9 @@ void CHyprDropShadowDecoration::draw(CMonitor* pMonitor, float a, const Vector2D
if (!m_pWindow->m_sSpecialRenderData.decorate)
return;
+ if (!m_pWindow->m_sSpecialRenderData.shadow)
+ return;
+
if (m_pWindow->m_sAdditionalConfigData.forceNoShadow)
return;