fix: Fix the problem of rotating the screen in full-screen state and maximizing the state after exiting full-screen.
This commit is contained in:
parent
eaa2f538e3
commit
fed45422cf
1 changed files with 1 additions and 0 deletions
|
@ -3348,6 +3348,7 @@ void AbstractClient::checkWorkspacePosition(QRect oldGeometry, QRect oldClientGe
|
||||||
oldClientGeometry = oldGeometry.adjusted(border[Left], border[Top], -border[Right], -border[Bottom]);
|
oldClientGeometry = oldGeometry.adjusted(border[Left], border[Top], -border[Right], -border[Bottom]);
|
||||||
if (isFullScreen()) {
|
if (isFullScreen()) {
|
||||||
moveResize(workspace()->clientArea(FullScreenArea, this, fullscreenGeometryRestore().center()));
|
moveResize(workspace()->clientArea(FullScreenArea, this, fullscreenGeometryRestore().center()));
|
||||||
|
updateGeometryRestoresForFullscreen(kwinApp()->platform()->outputAt(newGeom.center()));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue