small fix

svn path=/trunk/kdebase/kwin/; revision=35034
This commit is contained in:
Matthias Ettrich 1999-11-25 17:08:17 +00:00
parent 378161e531
commit d6c573987e

View file

@ -758,7 +758,7 @@ void Client::mousePressEvent( QMouseEvent * e)
moveOffset = e->pos();
invertedMoveOffset = rect().bottomRight() - e->pos();
}
else if ( e->button() == RightButton ) {
else if ( !buttonDown && e->button() == RightButton ) {
workspace()->clientPopup( this ) ->popup( e->globalPos() );
}
}