Fix the order of arguments passed to changeMaximize method

Summary:
BUG: 413424
BUG: 412888
BUG: 413554
FIXED-IN: 5.17.4

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: davidedmundson, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D25366
This commit is contained in:
Vlad Zahorodnii 2019-11-18 14:24:04 +02:00
parent 270009ed6a
commit b97d9ad681

View file

@ -2622,7 +2622,7 @@ void AbstractClient::finishMoveResize(bool cancel)
const bool restoreV = maximizeMode() == MaximizeVertical &&
moveResizeGeom.height() != initialMoveResizeGeometry().height();
if (restoreH || restoreV) {
changeMaximize(restoreV, restoreH, false);
changeMaximize(restoreH, restoreV, false);
}
}
setGeometry(moveResizeGeom);