From bff6c835575e937eb8caa49ce9072e81e4a6bd9c Mon Sep 17 00:00:00 2001 From: Navindra Umanee Date: Mon, 20 Mar 2000 13:50:27 +0000 Subject: [PATCH] reversed last patch. :) svn path=/trunk/kdebase/kwin/; revision=44120 --- stdclient.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stdclient.cpp b/stdclient.cpp index 66853f508b..45849be17b 100644 --- a/stdclient.cpp +++ b/stdclient.cpp @@ -325,12 +325,14 @@ void StdClient::paintEvent( QPaintEvent* ) r = r.subtract( t ); p.setClipRegion( r ); qDrawWinPanel( &p, rect(), colorGroup() ); - t.setTop( 4 ); + t.setTop( 1 ); p.setClipRegion( t ); + t.setTop( 0 ); p.fillRect( t, options->color(Options::TitleBar, isActive())); + p.setPen( options->color(Options::TitleBar, isActive()).light() ); + p.drawLine(t.left(), t.top()+1, t.right(), t.top()+1); qDrawShadePanel( &p, t.x(), t.y(), t.width(), t.height(), colorGroup(), true, 1 ); - t.setTop( 0 ); t.setLeft( t.left() + 4 ); t.setRight( t.right() - 2 ); p.setPen(options->color(Options::Font, isActive()));