summaryrefslogtreecommitdiff
path: root/src/desktop/view/Window.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-12-11 16:29:26 +0000
committerGitHub <noreply@github.com>2025-12-11 16:29:26 +0000
commit5dd224805deb437f6fa83359ee66a4d0f52262d2 (patch)
tree9a5b2466a9cbbeaa03c8e3876fe103e18aad8794 /src/desktop/view/Window.cpp
parent2ca7ad7efc1e20588af5c823ee46f23afad6cf91 (diff)
desktop/view: use aliveAndVisible for most things (#12631)
Diffstat (limited to 'src/desktop/view/Window.cpp')
-rw-r--r--src/desktop/view/Window.cpp2
1 files changed, 1 insertions, 1 deletions
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<CBox> CWindow::logicalBox() const {