diff --git a/clients/nitrogen/nitrogenclient.cpp b/clients/nitrogen/nitrogenclient.cpp index 1935dd0feb..3dfce9092d 100644 --- a/clients/nitrogen/nitrogenclient.cpp +++ b/clients/nitrogen/nitrogenclient.cpp @@ -415,7 +415,14 @@ namespace Nitrogen KCommonDecorationUnstable::activeChange(); } - + + //_________________________________________________________ + void NitrogenClient::shadeChange( void ) + { + if( hasSizeGrip() ) sizeGrip().setVisible( !isShade() ); + KCommonDecorationUnstable::shadeChange(); + } + //_________________________________________________________ QPalette NitrogenClient::backgroundPalette( const QWidget* widget, QPalette palette ) const { diff --git a/clients/nitrogen/nitrogenclient.h b/clients/nitrogen/nitrogenclient.h index 3485ea2469..141e7dcc16 100644 --- a/clients/nitrogen/nitrogenclient.h +++ b/clients/nitrogen/nitrogenclient.h @@ -91,6 +91,9 @@ namespace Nitrogen //! triggered when window activity is changed virtual void activeChange(); + //! triggered when window shade is changed + virtual void shadeChange(); + public slots: //! reset configuration