Also set geometry restore to the new screen if maximizing

icc-effect-5.26.4
Xaver Hugl 2021-01-22 13:08:16 +01:00
parent fa92aef9a8
commit 66daa862c1
1 changed files with 1 additions and 1 deletions

View File

@ -999,7 +999,7 @@ void AbstractClient::finishMoveResize(bool cancel)
}
checkScreen(); // needs to be done because clientFinishUserMovedResized has not yet re-activated online alignment
if (screen() != moveResizeStartScreen()) {
if (isFullScreen()) {
if (isFullScreen() || isElectricBorderMaximizing()) {
updateGeometryRestoresForFullscreen();
}
workspace()->sendClientToScreen(this, screen()); // checks rule validity