diff --git a/client.cpp b/client.cpp index b94564ca91..0b519c3ee0 100644 --- a/client.cpp +++ b/client.cpp @@ -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 );