From 06bc34faab9fc6075994252556d98ff29d43086d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 18 Mar 2003 18:24:32 +0000 Subject: [PATCH] #48836 too. svn path=/trunk/kdebase/kwin/; revision=214849 --- client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.cpp b/client.cpp index 8a7fa86884..ecf34c3703 100644 --- a/client.cpp +++ b/client.cpp @@ -657,6 +657,7 @@ void Client::startMoveResize() void Client::stopMoveResize() { + clearbound(); if ( ( isMove() && options->moveMode != Options::Opaque ) || ( isResize() && options->resizeMode != Options::Opaque ) ) XUngrabServer( qt_xdisplay() ); @@ -664,6 +665,7 @@ void Client::stopMoveResize() releaseMouse(); workspace()->setClientIsMoving(0); moveResizeMode = false; + update(); } /*! @@ -1723,7 +1725,6 @@ void Client::mouseReleaseEvent( QMouseEvent * e) if ( (e->stateAfter() & MouseButtonMask) == 0 ) { buttonDown = FALSE; if ( moveResizeMode ) { - clearbound(); stopMoveResize(); setGeometry( geom ); mode = mousePosition( e->pos() ); @@ -2980,7 +2981,6 @@ void Client::keyPressEvent( uint key_code ) case Key_Return: case Key_Enter: case Key_Escape: - clearbound(); stopMoveResize(); setGeometry( geom ); buttonDown = FALSE;