Remove a GeometryUpdatesBlocker in AbstractClient::checkWorkspacePosition()

It was added to work around an async geometry issue on Wayland, which is
no longer actual.
This commit is contained in:
Vlad Zahorodnii 2021-10-30 13:51:57 +03:00
parent 4928f4db5b
commit 218db74000

View file

@ -3358,7 +3358,6 @@ void AbstractClient::checkWorkspacePosition(QRect oldGeometry, QRect oldClientGe
} }
if (maximizeMode() != MaximizeRestore) { if (maximizeMode() != MaximizeRestore) {
GeometryUpdatesBlocker block(this);
changeMaximize(false, false, true); // adjust size changeMaximize(false, false, true); // adjust size
QRect geom = moveResizeGeometry(); QRect geom = moveResizeGeometry();
const QRect screenArea = workspace()->clientArea(ScreenArea, this, geom.center()); const QRect screenArea = workspace()->clientArea(ScreenArea, this, geom.center());