window: don't touch geometry restore in Window::sendToOutput
It's no longer used by checkWorkspacePosition
This commit is contained in:
parent
e195d42916
commit
5a3321be89
1 changed files with 1 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue