From fbedac8cad95f0dcca3bd8de551a6ee69d3bfb17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 7 Jun 2009 17:25:16 +0000 Subject: [PATCH] BUG: 195518 BUG: 182425 BUG: 181898 svn path=/trunk/KDE/kdebase/workspace/; revision=978605 --- effects/presentwindows/presentwindows.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/effects/presentwindows/presentwindows.cpp b/effects/presentwindows/presentwindows.cpp index 3d64202748..9c37ff469e 100644 --- a/effects/presentwindows/presentwindows.cpp +++ b/effects/presentwindows/presentwindows.cpp @@ -1246,7 +1246,8 @@ void PresentWindowsEffect::setActive( bool active, bool closingTab ) m_motionManager.manage( w ); } if( m_motionManager.managedWindows().isEmpty() || - (( m_motionManager.managedWindows().count() == 1 ) && m_motionManager.managedWindows().first()->isOnCurrentDesktop() )) + (( m_motionManager.managedWindows().count() == 1 ) && m_motionManager.managedWindows().first()->isOnCurrentDesktop() && + ( m_ignoreMinimized || !m_motionManager.managedWindows().first()->isMinimized() ) )) { // No point triggering if there is nothing to do m_activated = false;