don't setMaximize if whe only want changeMaximize
BUG: 318275 FIXED-IN: 4.10.3 REVIEW: 110006
This commit is contained in:
parent
0168f7eacf
commit
5d530a64fb
1 changed files with 3 additions and 2 deletions
|
@ -2643,8 +2643,9 @@ void Client::finishMoveResize(bool cancel)
|
||||||
moveResizeGeom.width() != initialMoveResizeGeom.width();
|
moveResizeGeom.width() != initialMoveResizeGeom.width();
|
||||||
const bool restoreV = maximizeMode() == MaximizeVertical &&
|
const bool restoreV = maximizeMode() == MaximizeVertical &&
|
||||||
moveResizeGeom.height() != initialMoveResizeGeom.height();
|
moveResizeGeom.height() != initialMoveResizeGeom.height();
|
||||||
if (restoreH || restoreV) // NOT setMaximize(restoreH, restoreV); !
|
if (restoreH || restoreV) {
|
||||||
setMaximize(false, false);
|
changeMaximize(restoreV, restoreH, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
setGeometry(moveResizeGeom);
|
setGeometry(moveResizeGeom);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue