Request frame when a window has been moved

Whenever a window's geometry changes, the scene has to be redrawn.
This has not been the case if the size didn't change.

Pick-to: 6.4
Change-Id: Ic85e1d75221134788ab2cf2e76bf2ba121f3335e
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
Mikolaj Boc 2022-08-30 08:06:07 +02:00
parent b1c57d13ee
commit 11c19ac6e2

View File

@ -150,6 +150,8 @@ void QWasmWindow::setGeometry(const QRect &rect)
QWindowSystemInterface::handleGeometryChange(window(), r);
if (shouldInvalidate)
invalidate();
else
m_compositor->requestUpdate();
}
void QWasmWindow::setVisible(bool visible)