Commit ef81ae3f authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

Resize maximised windows upon workspace change

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

BUG: 423596
parent 7f1abd5d
......@@ -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();
......
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