Commit 5a3321be authored by Xaver Hugl's avatar Xaver Hugl
Browse files

window: don't touch geometry restore in Window::sendToOutput

It's no longer used by checkWorkspacePosition
parent e195d429
......@@ -3942,16 +3942,8 @@ void Window::sendToOutput(Output *newOutput)
if (isFullScreen()) {
updateGeometryRestoresForFullscreen(newOutput);
checkWorkspacePosition(oldGeom);
} else {
// align geom_restore - checkWorkspacePosition operates on it
setGeometryRestore(moveResizeGeometry());
checkWorkspacePosition(oldGeom);
// re-align geom_restore to constrained geometry
setGeometryRestore(moveResizeGeometry());
}
checkWorkspacePosition(oldGeom);
// finally reset special states
// NOTICE that MaximizeRestore/QuickTileFlag::None checks are required.
// eg. setting QuickTileFlag::None would break maximization
......
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