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
(cherry picked from commit abd59be23274a0c76709a8c587d9ed14d154d995)
icc-effect-5.27.2
Xaver Hugl 2023-01-31 13:04:52 +01:00 committed by Vlad Zahorodnii
parent b36a17b164
commit e8d5f1e62d
1 changed files with 1 additions and 1 deletions

View File

@ -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