diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-05-31 21:11:20 +0200 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-05-31 21:11:20 +0200 |
| commit | e76bd43f53197af2c64608ba6b0792326e79db07 (patch) | |
| tree | 4bbf46a61a36fea9b89a2083be67b90d70f3a410 /src/Compositor.cpp | |
| parent | baf81cdc5d595b97ea9d1561315f7982720124a1 (diff) | |
rules: add nodim
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index e6a3d993..cfbc11b5 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -1665,7 +1665,7 @@ void CCompositor::updateWindowAnimatedDecorationValues(CWindow* pWindow) { } // dim - if (pWindow == m_pLastWindow) { + if (pWindow == m_pLastWindow || pWindow->m_sAdditionalConfigData.forceNoDim) { pWindow->m_fDimPercent = 0; } else { pWindow->m_fDimPercent = *PDIMSTRENGTH; |
