We need to have updatePending set otherwise there will be no
swapBuffers() which looks quite bad when minimizing and restoring a
window on xcb for instance. (we end up with having no window content
shown until there is a proper update triggered for whatever reason)
Change-Id: Ia58bbe92dbb7fb7e184828dc9ffbf0ddce0131e1
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
void QQuickTrivialWindowManager::exposureChanged(QQuickCanvas *canvas)
{
if (canvas->isExposed())
- renderCanvas(canvas);
+ maybeUpdate(canvas);
}
QImage QQuickTrivialWindowManager::grab(QQuickCanvas *canvas)