From 2021961a07a00441835c3341c93d6c6c05229808 Mon Sep 17 00:00:00 2001 From: "Daniel M. Duley" Date: Fri, 28 Apr 2000 22:00:06 +0000 Subject: [PATCH] Fix repainting the handle when shaded. svn path=/trunk/kdebase/kwin/; revision=47777 --- clients/modernsystem/modernsys.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clients/modernsystem/modernsys.cpp b/clients/modernsystem/modernsys.cpp index 75fc66cc2a..4e3ce2a573 100644 --- a/clients/modernsystem/modernsys.cpp +++ b/clients/modernsystem/modernsys.cpp @@ -355,7 +355,8 @@ void ModernSys::paintEvent( QPaintEvent* ) brush(QColorGroup::Button)); p.fillRect(1, 16, width()-2, height()-16, fillBrush); - + p.fillRect(width()-6, 0, width()-1, height(), fillBrush); + t.setTop( 2 ); t.setLeft( t.left() + 4 ); t.setRight( t.right() - 2 ); @@ -366,7 +367,7 @@ void ModernSys::paintEvent( QPaintEvent* ) // titlebar QColorGroup g = options->colorGroup(Options::TitleBar, isActive()); if(isActive()){ - p.drawPixmap(1, 1, titleBuffer); + p.drawPixmap(1, 1, titleBuffer, 0, 0, w-2, 18); } else{ if(iUpperGradient)