[plasma/kwin] src: Don't round work areas in Window::checkWorkspacePosition()

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 4413eb067c7c6bfb17537bbab5496c96bc2446fb by Vlad Zahorodnii.
Committed on 10/08/2026 at 12:47.
Pushed by vladz into branch 'master'.

Don't round work areas in Window::checkWorkspacePosition()

M  +2    -2    src/window.cpp

https://invent.kde.org/plasma/kwin/-/commit/4413eb067c7c6bfb17537bbab5496c96bc2446fb

diff --git a/src/window.cpp b/src/window.cpp
index ecc6940a61a..6ddf69293a8 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -4036,8 +4036,8 @@ void Window::checkWorkspacePosition(RectF oldGeometry, LogicalOutput *oldOutput)
         screenArea = newOutput->geometry();
         newGeom.translate(screenArea.topLeft() - oldScreenArea.topLeft());
     } else {
-        oldScreenArea = workspace()->clientArea(ScreenArea, workspace()->outputAt(oldGeometry.center())).toRect();
-        screenArea = workspace()->clientArea(ScreenArea, this, newGeom.center()).toRect();
+        oldScreenArea = workspace()->clientArea(ScreenArea, workspace()->outputAt(oldGeometry.center()));
+        screenArea = workspace()->clientArea(ScreenArea, this, newGeom.center());
     }
 
     if (isRequestedFullScreen() || requestedMaximizeMode() != MaximizeRestore || requestedQuickTileMode() != QuickTileMode(QuickTileFlag::None)) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.