From 5dd224805deb437f6fa83359ee66a4d0f52262d2 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Thu, 11 Dec 2025 16:29:26 +0000 Subject: desktop/view: use aliveAndVisible for most things (#12631) --- src/desktop/view/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/desktop/view/Window.cpp') diff --git a/src/desktop/view/Window.cpp b/src/desktop/view/Window.cpp index e27129a1..f8323540 100644 --- a/src/desktop/view/Window.cpp +++ b/src/desktop/view/Window.cpp @@ -154,7 +154,7 @@ eViewType CWindow::type() const { } bool CWindow::visible() const { - return m_isMapped && !m_hidden && m_wlSurface && m_wlSurface->resource(); + return !m_hidden && ((m_isMapped && m_wlSurface && m_wlSurface->resource()) || (m_fadingOut && m_alpha->value() != 0.F)); } std::optional CWindow::logicalBox() const { -- cgit v1.2.3