From fed45422cfbb7bb0403522466a4f1e990a36a466 Mon Sep 17 00:00:00 2001 From: jiya dong Date: Mon, 13 Dec 2021 16:21:05 +0800 Subject: [PATCH] fix: Fix the problem of rotating the screen in full-screen state and maximizing the state after exiting full-screen. --- src/abstract_client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/abstract_client.cpp b/src/abstract_client.cpp index 826b0dc9a2..a6def53f6f 100644 --- a/src/abstract_client.cpp +++ b/src/abstract_client.cpp @@ -3348,6 +3348,7 @@ void AbstractClient::checkWorkspacePosition(QRect oldGeometry, QRect oldClientGe oldClientGeometry = oldGeometry.adjusted(border[Left], border[Top], -border[Right], -border[Bottom]); if (isFullScreen()) { moveResize(workspace()->clientArea(FullScreenArea, this, fullscreenGeometryRestore().center())); + updateGeometryRestoresForFullscreen(kwinApp()->platform()->outputAt(newGeom.center())); return; }