From 091f055086f92347669e8c40f663f8f43175a328 Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Fri, 18 Aug 2000 13:21:35 +0000 Subject: [PATCH] small painting bug fixed svn path=/trunk/kdebase/kwin/; revision=61431 --- default/kdedefault.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default/kdedefault.cpp b/default/kdedefault.cpp index 633b912d1c..b3108b1090 100644 --- a/default/kdedefault.cpp +++ b/default/kdedefault.cpp @@ -389,10 +389,10 @@ void KDEClient::resizeEvent( QResizeEvent* e) int dx = 0; int dy = 0; if ( e->oldSize().width() != width() ) - dx = 16 + QABS( e->oldSize().width() - width() ); + dx = 32 + QABS( e->oldSize().width() - width() ); if ( e->oldSize().height() != height() ) dy = 8 + QABS( e->oldSize().height() - height() ); - if ( dy ) + if ( dy ) update( 0, height() - dy + 1, width(), dy ); if ( dx ) { update( width() - dx + 1, 0, dx, height() );