Always set bottom border to zero when window is shaded. This ensures that window title and buttons are
centered vertically when shading windows. svn path=/trunk/KDE/kdebase/workspace/; revision=1170209
This commit is contained in:
parent
656a6c1521
commit
943154f255
1 changed files with 6 additions and 3 deletions
|
@ -268,7 +268,6 @@ namespace Oxygen
|
|||
{
|
||||
case LM_BorderLeft:
|
||||
case LM_BorderRight:
|
||||
case LM_BorderBottom:
|
||||
{
|
||||
int border( 0 );
|
||||
if( respectWindowState && maximized )
|
||||
|
@ -276,6 +275,10 @@ namespace Oxygen
|
|||
|
||||
border = 0;
|
||||
|
||||
} else if( lm == LM_BorderBottom && isShade() ) {
|
||||
|
||||
border = 0;
|
||||
|
||||
} else if( lm == LM_BorderBottom && frameBorder >= Configuration::BorderNoSide ) {
|
||||
|
||||
// for tiny border, the convention is to have a larger bottom area in order to
|
||||
|
|
Loading…
Reference in a new issue