diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-11-12 13:01:23 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-11-12 13:01:23 +0000 |
| commit | 91cbe93cf875c064847c76c6501d2a22c3f0abec (patch) | |
| tree | d1f6418f9ad87d7079abe02d95a57f322e7ed63a /src/render/decorations/CHyprDropShadowDecoration.cpp | |
| parent | 9afdd61adeaf413afbe853dbc5fdf6853c8bde21 (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.cpp | 4 |
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; |
