fixed rounding of bottom corners in tiny border mode
svn path=/trunk/KDE/kdebase/workspace/; revision=1016853
This commit is contained in:
parent
563191f51c
commit
66c1892947
1 changed files with 2 additions and 2 deletions
|
@ -330,7 +330,7 @@ namespace Nitrogen
|
|||
int bottom = 1;
|
||||
|
||||
// disable bottom corners when border frame is too small
|
||||
if( configuration().frameBorder() <= NitrogenConfiguration::BorderTiny ) bottom = 0;
|
||||
if( configuration().frameBorder() < NitrogenConfiguration::BorderTiny ) bottom = 0;
|
||||
|
||||
int sw = layoutMetric( LM_OuterPaddingLeft );
|
||||
int sh = layoutMetric( LM_OuterPaddingTop );
|
||||
|
@ -775,7 +775,7 @@ namespace Nitrogen
|
|||
|
||||
// draw the corner of the window - actually all 4 corners as one circle
|
||||
QLinearGradient lg = QLinearGradient(0.0, size-4.5, 0.0, size+4.5);
|
||||
if( configuration().frameBorder() <= NitrogenConfiguration::BorderTiny )
|
||||
if( configuration().frameBorder() < NitrogenConfiguration::BorderTiny )
|
||||
{
|
||||
|
||||
lg.setColorAt(0, helper().backgroundTopColor(color) );
|
||||
|
|
Loading…
Reference in a new issue