Fixed size-grip visibility when shading windows

svn path=/trunk/KDE/kdebase/workspace/; revision=1017165
icc-effect-5.14.5
Hugo Pereira Da Costa 2009-08-29 20:04:24 +00:00
parent a56de50f0d
commit bbb66d7a7d
2 changed files with 11 additions and 1 deletions

View File

@ -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
{

View File

@ -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