Obey window size hints when doing unrestricted resizes.
BUG: 196326 svn path=/trunk/KDE/kdebase/workspace/; revision=987516
This commit is contained in:
parent
ae71d8300f
commit
9842c3247e
1 changed files with 42 additions and 40 deletions
|
@ -2980,7 +2980,9 @@ void Client::handleMoveResize( int x, int y, int x_root, int y_root )
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Always obey size hints, even when in "unrestricted" mode
|
||||
QSize size = adjustedSize( moveResizeGeom.size(), sizemode );
|
||||
// the new topleft and bottomright corners (after checking size constrains), if they'll be needed
|
||||
topleft = QPoint( moveResizeGeom.right() - size.width() + 1, moveResizeGeom.bottom() - size.height() + 1 );
|
||||
|
@ -3020,7 +3022,7 @@ void Client::handleMoveResize( int x, int y, int x_root, int y_root )
|
|||
abort();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if( moveResizeGeom.size() != previousMoveResizeGeom.size())
|
||||
update = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue