small fix when deciding whether to start a drag or not

svn path=/trunk/kdebase/kwin/; revision=33374
master
Matthias Ettrich 25 years ago
parent f60d8588b2
commit ed10ad67b8

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

Loading…
Cancel
Save