CT: even better fix for bogus unshades during fast move

svn path=/trunk/kdebase/kwin/; revision=140397
This commit is contained in:
Cristian Tibirna 2002-03-03 00:21:56 +00:00
parent bf0cffbf81
commit 78dde9c675

View file

@ -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 )