prevent shrinking away titlebar f. bottom corners
it's the same condition as shriking away from plain edges (one can resize exclusively in that direction as well) REVIEW: 111573
This commit is contained in:
parent
93e2ce4bfd
commit
02ed20662d
1 changed files with 2 additions and 0 deletions
|
@ -2874,6 +2874,7 @@ void Client::handleMoveResize(int x, int y, int x_root, int y_root)
|
|||
// we are trying to resize in from the side?
|
||||
bool breakLoop = false;
|
||||
switch(mode) {
|
||||
case PositionBottomLeft:
|
||||
case PositionTopLeft:
|
||||
case PositionLeft:
|
||||
if (previousMoveResizeGeom.x() >= moveResizeGeom.x()) {
|
||||
|
@ -2882,6 +2883,7 @@ void Client::handleMoveResize(int x, int y, int x_root, int y_root)
|
|||
}
|
||||
moveResizeGeom.setLeft(moveResizeGeom.x() - 1);
|
||||
break;
|
||||
case PositionBottomRight:
|
||||
case PositionTopRight:
|
||||
case PositionRight:
|
||||
if (previousMoveResizeGeom.right() <= moveResizeGeom.right()) {
|
||||
|
|
Loading…
Reference in a new issue