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
remotes/origin/work/zzag/p6-drop-legacy-shortcut-in-night-color
Xaver Hugl 3 years ago committed by Vlad Zahorodnii
parent 3c059d3a24
commit abd59be232
  1. 2
      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

Loading…
Cancel
Save