desktop/view: use aliveAndVisible for most things (#12631)
This commit is contained in:
parent
2ca7ad7efc
commit
5dd224805d
10 changed files with 35 additions and 28 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue