small painting bug fixed
svn path=/trunk/kdebase/kwin/; revision=61431
This commit is contained in:
parent
fcfce3bb14
commit
091f055086
1 changed files with 2 additions and 2 deletions
|
@ -389,10 +389,10 @@ void KDEClient::resizeEvent( QResizeEvent* e)
|
||||||
int dx = 0;
|
int dx = 0;
|
||||||
int dy = 0;
|
int dy = 0;
|
||||||
if ( e->oldSize().width() != width() )
|
if ( e->oldSize().width() != width() )
|
||||||
dx = 16 + QABS( e->oldSize().width() - width() );
|
dx = 32 + QABS( e->oldSize().width() - width() );
|
||||||
if ( e->oldSize().height() != height() )
|
if ( e->oldSize().height() != height() )
|
||||||
dy = 8 + QABS( e->oldSize().height() - height() );
|
dy = 8 + QABS( e->oldSize().height() - height() );
|
||||||
if ( dy )
|
if ( dy )
|
||||||
update( 0, height() - dy + 1, width(), dy );
|
update( 0, height() - dy + 1, width(), dy );
|
||||||
if ( dx ) {
|
if ( dx ) {
|
||||||
update( width() - dx + 1, 0, dx, height() );
|
update( width() - dx + 1, 0, dx, height() );
|
||||||
|
|
Loading…
Reference in a new issue