Commit 66daa862 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

Also set geometry restore to the new screen if maximizing

parent fa92aef9
......@@ -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
......
Supports Markdown
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