diff --git a/clients/nitrogen/nitrogenclient.cpp b/clients/nitrogen/nitrogenclient.cpp index 0eefdeb588..3b2a5cb747 100644 --- a/clients/nitrogen/nitrogenclient.cpp +++ b/clients/nitrogen/nitrogenclient.cpp @@ -124,6 +124,18 @@ namespace Nitrogen } + //___________________________________________ + void NitrogenClient::reset( unsigned long changed ) + { + if( changed & SettingCompositing ) + { + updateWindowShape(); + widget()->update(); + } + + KCommonDecorationUnstable::reset( changed ); + } + //___________________________________________ bool NitrogenClient::isMaximized() const { return maximizeMode()==MaximizeFull && !options()->moveResizeMaximizedWindows(); } diff --git a/clients/nitrogen/nitrogenclient.h b/clients/nitrogen/nitrogenclient.h index 7ad8d0c88a..57c239705c 100644 --- a/clients/nitrogen/nitrogenclient.h +++ b/clients/nitrogen/nitrogenclient.h @@ -78,6 +78,9 @@ namespace Nitrogen //! initialization virtual void init(); + // reset + virtual void reset( unsigned long changed ); + //! return associated configuration NitrogenConfiguration configuration( void ) const;