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())
|
if ( !isMinimizable() || isMinimized())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
minimized = true;
|
|
||||||
|
|
||||||
Notify::raise( Notify::Minimize );
|
Notify::raise( Notify::Minimize );
|
||||||
|
|
||||||
// SELI mainClients().isEmpty() ??? - and in unminimize() too
|
// SELI mainClients().isEmpty() ??? - and in unminimize() too
|
||||||
if ( mainClients().isEmpty() && isOnCurrentDesktop() && isShown( true ) && !avoid_animation )
|
if ( mainClients().isEmpty() && isOnCurrentDesktop() && isShown( true ) && !avoid_animation )
|
||||||
animateMinimizeOrUnminimize( true ); // was visible or shaded
|
animateMinimizeOrUnminimize( true ); // was visible or shaded
|
||||||
|
|
||||||
|
minimized = true;
|
||||||
|
|
||||||
updateVisibility();
|
updateVisibility();
|
||||||
updateAllowedActions();
|
updateAllowedActions();
|
||||||
workspace()->updateMinimizedOfTransients( this );
|
workspace()->updateMinimizedOfTransients( this );
|
||||||
|
|
Loading…
Reference in a new issue