added reimp 'reset' method to update mask when compositing state is changed
svn path=/trunk/KDE/kdebase/workspace/; revision=1021804
This commit is contained in:
parent
88dc7eccfd
commit
2a9b681f34
2 changed files with 15 additions and 0 deletions
|
@ -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(); }
|
||||
|
|
|
@ -78,6 +78,9 @@ namespace Nitrogen
|
|||
//! initialization
|
||||
virtual void init();
|
||||
|
||||
// reset
|
||||
virtual void reset( unsigned long changed );
|
||||
|
||||
//! return associated configuration
|
||||
NitrogenConfiguration configuration( void ) const;
|
||||
|
||||
|
|
Loading…
Reference in a new issue