From 17bd1779ea40d6426237f31e2a9bcc8f24155d5d Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 28 Apr 2022 15:39:49 +0200 Subject: [PATCH] fix fadeout --- src/Compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index ee9e3920..3cad4dcf 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -625,7 +625,7 @@ void CCompositor::moveWindowToTop(CWindow* pWindow) { void CCompositor::cleanupWindows() { for (auto& w : m_lWindowsFadingOut) { - bool valid = windowValidMapped(w); + bool valid = windowExists(w); if (!valid || !w->m_bFadingOut || w->m_fAlpha.fl() == 0.f) { if (valid && !w->m_bReadyToDelete)