Call decoration->borders() etc. in resetMaximize() too. -- Fixes some more

problems for the Keramik decoration.

svn path=/trunk/kdebase/kwin/; revision=264345
This commit is contained in:
Sandro Giessl 2003-11-03 22:37:58 +00:00
parent cdd2873097
commit 2ebc2443fc

View file

@ -1286,6 +1286,9 @@ void Client::resetMaximize()
Notify::raise( Notify::UnMaximize ); Notify::raise( Notify::UnMaximize );
info->setState( 0, NET::Max ); info->setState( 0, NET::Max );
updateAllowedActions(); updateAllowedActions();
if( decoration != NULL )
decoration->borders( border_left, border_right, border_top, border_bottom );
setGeometry( geometry(), ForceGeometrySet );
if( decoration != NULL ) if( decoration != NULL )
decoration->maximizeChange(); decoration->maximizeChange();
} }