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. Change-Id: Ic85e1d75221134788ab2cf2e76bf2ba121f3335e Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io> (cherry picked from commit 11c19ac6e2892a552e5302fdf71aeb3e6a7812e9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
bfb2fbc035
commit
1b69f7379b
@ -94,6 +94,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