respect the no border hint for windows that aren't maximized in case of

borderlessMaximizedWindows()

svn path=/trunk/KDE/kdebase/workspace/; revision=1035170
icc-effect-5.14.5
Marco Martin 2009-10-14 13:07:31 +00:00
parent 69044acd66
commit 36b39da955
1 changed files with 1 additions and 1 deletions

View File

@ -2219,7 +2219,7 @@ void Client::changeMaximize( bool vertical, bool horizontal, bool adjust )
clientArea = workspace()->clientArea( MaximizeArea, this );
if( options->borderlessMaximizedWindows() )
setNoBorder(max_mode == MaximizeFull);
setNoBorder(app_noborder || max_mode == MaximizeFull);
// save sizes for restoring, if maximalizing
if( !adjust && !( y() == clientArea.top() && height() == clientArea.height()))