diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2010-06-15 11:49:41 (GMT) |
---|---|---|
committer | Jeremy Katz <jeremy.katz@nokia.com> | 2010-06-15 11:49:41 (GMT) |
commit | 598455952bee3931934820db1dfe9e9ce4dc0388 (patch) | |
tree | 6193b7501d677ce60613034e0c0f3fac7e713147 /src/plugins/platforms/fb_base | |
parent | 853c01fe35431f78f2d3191b1592cc616c03ee09 (diff) | |
download | Qt-598455952bee3931934820db1dfe9e9ce4dc0388.zip Qt-598455952bee3931934820db1dfe9e9ce4dc0388.tar.gz Qt-598455952bee3931934820db1dfe9e9ce4dc0388.tar.bz2 |
fix repaint of resized widgets that span multiple screens
Diffstat (limited to 'src/plugins/platforms/fb_base')
-rw-r--r-- | src/plugins/platforms/fb_base/fb_base.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/platforms/fb_base/fb_base.cpp b/src/plugins/platforms/fb_base/fb_base.cpp index be4a530..d63bfce 100644 --- a/src/plugins/platforms/fb_base/fb_base.cpp +++ b/src/plugins/platforms/fb_base/fb_base.cpp @@ -383,11 +383,13 @@ void QFbWindow::repaint(const QRegion ®ion) dirtyClient.height()); QList<QFbScreen *>::const_iterator i = mScreens.constBegin(); QList<QFbScreen *>::const_iterator end = mScreens.constEnd(); + QRect oldGeometryLocal = oldGeometry; + oldGeometry = currentGeometry; while (i != end) { // If this is a move, redraw the previous location - if (oldGeometry != currentGeometry) { - (*i)->setDirty(oldGeometry); - oldGeometry = currentGeometry; + if (oldGeometryLocal != currentGeometry) { + qDebug() << "repaint old area on screen" << (*i)->objectName(); + (*i)->setDirty(oldGeometryLocal); } (*i)->setDirty(dirtyRegion); ++i; |