Fixed calculation on drag distance in Client::handleMoveResize to properly handle decoration padding, consistently with calculation of
"moveOffset" in Client::processDecorationButtonPress (in events.cpp). BUG: 223366 svn path=/trunk/KDE/kdebase/workspace/; revision=1078291
This commit is contained in:
parent
302a245d0e
commit
f13d25a8df
1 changed files with 1 additions and 1 deletions
|
@ -2951,7 +2951,7 @@ void Client::handleMoveResize( int x, int y, int x_root, int y_root )
|
|||
|
||||
if ( !moveResizeMode )
|
||||
{
|
||||
QPoint p( QPoint( x, y ) - moveOffset );
|
||||
QPoint p( QPoint( x - padding_left, y - padding_top ) - moveOffset );
|
||||
if (p.manhattanLength() >= 6)
|
||||
{
|
||||
if( !startMoveResize())
|
||||
|
|
Loading…
Reference in a new issue