Commit b97d9ad6 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

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
parent 270009ed
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment