summaryrefslogtreecommitdiffstats
path: root/client/deKoratorclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/deKoratorclient.cpp')
-rw-r--r--client/deKoratorclient.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/client/deKoratorclient.cpp b/client/deKoratorclient.cpp
index b33c66a..f5779a4 100644
--- a/client/deKoratorclient.cpp
+++ b/client/deKoratorclient.cpp
@@ -2218,8 +2218,16 @@ void DeKoratorClient::borders( int & l, int & r, int & t, int & b ) const
//b = SHOWBTMBORDER ? BOTTOMFRAMESIZE : isShade() ? 1 : BOTTOMFRAMESIZE;
if ( !isShade() || SHOWBTMBORDER )
{
- b = BOTTOMFRAMESIZE;
- bottomSpacer_->changeSize( 1, BOTTOMFRAMESIZE, TQSizePolicy::Expanding, TQSizePolicy::Fixed );
+ if ( isShade() && HASBOTTOMSHADEDFRAME )
+ {
+ b = BOTTOMSHADEDFRAMESIZE;
+ bottomSpacer_->changeSize( 1, BOTTOMSHADEDFRAMESIZE, TQSizePolicy::Expanding, TQSizePolicy::Fixed );
+ }
+ else
+ {
+ b = BOTTOMFRAMESIZE;
+ bottomSpacer_->changeSize( 1, BOTTOMFRAMESIZE, TQSizePolicy::Expanding, TQSizePolicy::Fixed );
+ }
}
else
{