diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-02-28 15:00:34 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-02-28 15:00:40 +0000 |
| commit | 4bc669f9331bb66ab30bd705d09f1239bc3e83ed (patch) | |
| tree | 0ffdfa24b039b601080c6a49699a8d73b779ed8a /src/Compositor.cpp | |
| parent | f4f3aa2e505ca1b22688fb4a32f31c4bfb851dd0 (diff) | |
layers: add fully featured animations
Adds configs and layerrules to handle them
alas fixes #981
I have cooked
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 f0d7ca0f..48ac0e1c 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -1480,7 +1480,7 @@ void CCompositor::cleanupFadingOut(const int& monid) { if (ls->layer == ZWLR_LAYER_SHELL_V1_LAYER_BACKGROUND || ls->layer == ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM) g_pHyprOpenGL->markBlurDirtyForMonitor(getMonitorFromID(monid)); - if (ls->fadingOut && ls->readyToDelete && !ls->alpha.isBeingAnimated()) { + if (ls->fadingOut && ls->readyToDelete && ls->isFadedOut()) { for (auto& m : m_vMonitors) { for (auto& lsl : m->m_aLayerSurfaceLayers) { if (!lsl.empty() && std::find_if(lsl.begin(), lsl.end(), [&](std::unique_ptr<SLayerSurface>& other) { return other.get() == ls; }) != lsl.end()) { |
