From 5d530a64fb0b8085ec75d9d294ac61d3b1f25ed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 14 Apr 2013 09:44:36 +0200 Subject: [PATCH] don't setMaximize if whe only want changeMaximize BUG: 318275 FIXED-IN: 4.10.3 REVIEW: 110006 --- geometry.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/geometry.cpp b/geometry.cpp index f0e8c3d5c6..5a0eae1e0b 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -2643,8 +2643,9 @@ void Client::finishMoveResize(bool cancel) moveResizeGeom.width() != initialMoveResizeGeom.width(); const bool restoreV = maximizeMode() == MaximizeVertical && moveResizeGeom.height() != initialMoveResizeGeom.height(); - if (restoreH || restoreV) // NOT setMaximize(restoreH, restoreV); ! - setMaximize(false, false); + if (restoreH || restoreV) { + changeMaximize(restoreV, restoreH, false); + } } setGeometry(moveResizeGeom); }