Fix minimize animation.
svn path=/trunk/KDE/kdebase/workspace/; revision=476610
This commit is contained in:
parent
67ba695f34
commit
816c529a2c
1 changed files with 2 additions and 2 deletions
|
@ -562,14 +562,14 @@ void Client::minimize( bool avoid_animation )
|
|||
if ( !isMinimizable() || isMinimized())
|
||||
return;
|
||||
|
||||
minimized = true;
|
||||
|
||||
Notify::raise( Notify::Minimize );
|
||||
|
||||
// SELI mainClients().isEmpty() ??? - and in unminimize() too
|
||||
if ( mainClients().isEmpty() && isOnCurrentDesktop() && isShown( true ) && !avoid_animation )
|
||||
animateMinimizeOrUnminimize( true ); // was visible or shaded
|
||||
|
||||
minimized = true;
|
||||
|
||||
updateVisibility();
|
||||
updateAllowedActions();
|
||||
workspace()->updateMinimizedOfTransients( this );
|
||||
|
|
Loading…
Reference in a new issue