small fix when deciding whether to start a drag or not

svn path=/trunk/kdebase/kwin/; revision=33374
This commit is contained in:
Matthias Ettrich 1999-11-09 23:37:05 +00:00
parent f60d8588b2
commit ed10ad67b8

View file

@ -710,7 +710,7 @@ void Client::mouseMoveEvent( QMouseEvent * e)
if ( !moveResizeMode )
{
QPoint p( e->pos() - moveOffset );
if ( QABS( p.x() >= 4) || QABS( p.y() ) >= 4 ) {
if ( (QABS( p.x()) >= 4) || (QABS( p.y() ) >= 4 )) {
moveResizeMode = TRUE;
grabMouse( cursor() ); // to keep the right cursor
if ( ( isMove() && options->moveMode != Options::Opaque )