small fix when deciding whether to start a drag or not
svn path=/trunk/kdebase/kwin/; revision=33374
This commit is contained in:
parent
f60d8588b2
commit
ed10ad67b8
1 changed files with 1 additions and 1 deletions
|
@ -710,7 +710,7 @@ void Client::mouseMoveEvent( QMouseEvent * e)
|
||||||
if ( !moveResizeMode )
|
if ( !moveResizeMode )
|
||||||
{
|
{
|
||||||
QPoint p( e->pos() - moveOffset );
|
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;
|
moveResizeMode = TRUE;
|
||||||
grabMouse( cursor() ); // to keep the right cursor
|
grabMouse( cursor() ); // to keep the right cursor
|
||||||
if ( ( isMove() && options->moveMode != Options::Opaque )
|
if ( ( isMove() && options->moveMode != Options::Opaque )
|
||||||
|
|
Loading…
Reference in a new issue