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:
parent
b1c57d13ee
commit
11c19ac6e2
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user