From 78dde9c675d63788dfe907b485c175c5263ae8e8 Mon Sep 17 00:00:00 2001 From: Cristian Tibirna Date: Sun, 3 Mar 2002 00:21:56 +0000 Subject: [PATCH] CT: even better fix for bogus unshades during fast move svn path=/trunk/kdebase/kwin/; revision=140397 --- client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.cpp b/client.cpp index 1a8bca54b6..014d5a130d 100644 --- a/client.cpp +++ b/client.cpp @@ -1576,7 +1576,7 @@ void Client::mouseMoveEvent( QMouseEvent * e) return; } - if ( !isMovable()) return; + if ( !isMovable() ) return; if ( !moveResizeMode ) { QPoint p( e->pos() - moveOffset ); @@ -2182,7 +2182,7 @@ bool Client::x11Event( XEvent * e) autoRaiseTimer = 0; delete shadeHoverTimer; shadeHoverTimer = 0; - if ( hover_unshade && !isMove()) + if ( hover_unshade && !moveResizeMode && !buttonDown ) setShade( TRUE, 1 ); } if ( options->focusPolicy == Options::FocusStrictlyUnderMouse )