From abd59be23274a0c76709a8c587d9ed14d154d995 Mon Sep 17 00:00:00 2001 From: Xaver Hugl Date: Tue, 31 Jan 2023 13:04:52 +0100 Subject: [PATCH] x11window: round framegeometry on moveresize If this isn't done, the size check in SurfacePixmapX11::create will stop the window from being updated BUG: 460934 BUG: 458778 --- src/x11window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11window.cpp b/src/x11window.cpp index 68ecdcfa58..48e92d1e83 100644 --- a/src/x11window.cpp +++ b/src/x11window.cpp @@ -4188,7 +4188,7 @@ void X11Window::moveResizeInternal(const QRectF &rect, MoveResizeMode mode) // Such code is wrong and should be changed to handle the case when the window is shaded, // for example using X11Window::clientSize() - QRectF frameGeometry = rect; + QRectF frameGeometry = Xcb::fromXNative(Xcb::toXNative(rect)); if (shade_geometry_change) { ; // nothing