From 91cbe93cf875c064847c76c6501d2a22c3f0abec Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 12 Nov 2023 13:01:23 +0000 Subject: decoration: add NON_SOLID flag for shadow fixes #3841 --- src/render/decorations/CHyprDropShadowDecoration.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/render/decorations/CHyprDropShadowDecoration.cpp') 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; -- cgit v1.2.3