From 9cb1740124b21984ba1d796f0af2acce41747473 Mon Sep 17 00:00:00 2001 From: Karol Szwed Date: Wed, 30 Oct 2002 16:15:58 +0000 Subject: [PATCH] Draw unpainted areas when a window is shaded. Approved by Maksim. svn path=/trunk/kdebase/kwin/; revision=186526 --- clients/keramik/keramik.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clients/keramik/keramik.cpp b/clients/keramik/keramik.cpp index da19563065..7c12800bc0 100644 --- a/clients/keramik/keramik.cpp +++ b/clients/keramik/keramik.cpp @@ -1328,6 +1328,11 @@ void KeramikClient::paintEvent( QPaintEvent *e ) p.drawPixmap( width() - 9, height() - grabBarHeight, *clientHandler->tile( GrabBarRight, active ) ); } + + // Extra drawline for the 1 pixel empty space QLayout leaves when a window is shaded. + p.setPen( options->color( Options::TitleBlend, active ) ); + p.drawLine( 3, height() - grabBarHeight - 1, + width() - 4, height() - grabBarHeight - 1 ); }