From ef81ae3f9f7d743ab48bdcceda5df38975567f35 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 21 Jul 2020 03:44:05 +0200 Subject: [PATCH] Resize maximised windows upon workspace change Don't issue a frameGeometry update until we have fully processed which geometry we want. BUG: 423596 --- abstract_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abstract_client.cpp b/abstract_client.cpp index d9a63c02c8..3a18b467d8 100644 --- a/abstract_client.cpp +++ b/abstract_client.cpp @@ -3064,7 +3064,7 @@ void AbstractClient::checkWorkspacePosition(QRect oldGeometry, int oldDesktop, Q return; if (maximizeMode() != MaximizeRestore) { - // TODO update geom_restore? + GeometryUpdatesBlocker block(this); changeMaximize(false, false, true); // adjust size const QRect screenArea = workspace()->clientArea(ScreenArea, this); QRect geom = frameGeometry();