summaryrefslogtreecommitdiff
path: root/src/render/decorations/CHyprDropShadowDecoration.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2023-11-12 13:01:23 +0000
committerVaxry <vaxry@vaxry.net>2023-11-12 13:01:23 +0000
commit91cbe93cf875c064847c76c6501d2a22c3f0abec (patch)
treed1f6418f9ad87d7079abe02d95a57f322e7ed63a /src/render/decorations/CHyprDropShadowDecoration.cpp
parent9afdd61adeaf413afbe853dbc5fdf6853c8bde21 (diff)
decoration: add NON_SOLID flag for shadow
fixes #3841
Diffstat (limited to 'src/render/decorations/CHyprDropShadowDecoration.cpp')
-rw-r--r--src/render/decorations/CHyprDropShadowDecoration.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/decorations/CHyprDropShadowDecoration.cpp b/src/render/decorations/CHyprDropShadowDecoration.cpp
index 08234339..c992a4d8 100644
--- a/src/render/decorations/CHyprDropShadowDecoration.cpp
+++ b/src/render/decorations/CHyprDropShadowDecoration.cpp
@@ -26,6 +26,10 @@ void CHyprDropShadowDecoration::onPositioningReply(const SDecorationPositioningR
updateWindow(m_pWindow);
}
+uint64_t CHyprDropShadowDecoration::getDecorationFlags() {
+ return DECORATION_NON_SOLID;
+}
+
void CHyprDropShadowDecoration::damageEntire() {
static auto* const PSHADOWS = &g_pConfigManager->getConfigValuePtr("decoration:drop_shadow")->intValue;