Resize maximised windows upon workspace change

Don't issue a frameGeometry update until we have fully processed which
geometry we want.

BUG: 423596
master
Aleix Pol 2020-07-21 03:44:05 +02:00 committed by Aleix Pol Gonzalez
parent 7f1abd5dad
commit ef81ae3f9f
1 changed files with 1 additions and 1 deletions

View File

@ -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();