[effects/presentwindows] Activate even if only one window is open
Requested by VDG. BUG: 428301 FIXED-IN: 5.22
This commit is contained in:
parent
f5925e2f17
commit
57b6091bd5
1 changed files with 1 additions and 3 deletions
|
@ -1606,9 +1606,7 @@ void PresentWindowsEffect::setActive(bool active)
|
|||
}
|
||||
}
|
||||
|
||||
if (m_motionManager.managedWindows().isEmpty() ||
|
||||
((m_motionManager.managedWindows().count() == 1) && m_motionManager.managedWindows().first()->isOnCurrentDesktop() &&
|
||||
(m_ignoreMinimized || !m_motionManager.managedWindows().first()->isMinimized()))) {
|
||||
if (m_motionManager.managedWindows().isEmpty()) {
|
||||
// No point triggering if there is nothing to do
|
||||
m_activated = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue