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
This commit is contained in:
Xaver Hugl 2023-01-31 13:04:52 +01:00 committed by Vlad Zahorodnii
parent 3c059d3a24
commit abd59be232

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