diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-17 22:35:00 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-17 22:35:00 (GMT) |
commit | 81636777396d3385f99bdb1b9f8a07b514b6d7fc (patch) | |
tree | 77960b7e2458deedd9316f964b5b439c6c3dc3eb /src | |
parent | 6c0b2b331cfcd200b4e62809e39971eb531fab80 (diff) | |
parent | 215d7c9a57ae531982ec98a5de0ad01589151469 (diff) | |
download | Qt-81636777396d3385f99bdb1b9f8a07b514b6d7fc.zip Qt-81636777396d3385f99bdb1b9f8a07b514b6d7fc.tar.gz Qt-81636777396d3385f99bdb1b9f8a07b514b6d7fc.tar.bz2 |
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp index 4cebc96..19103cb 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp @@ -274,6 +274,8 @@ static inline void scrollSurface(IDirectFBSurface *surface, const QRect &r, int { const DFBRectangle rect = { r.x(), r.y(), r.width(), r.height() }; surface->Blit(surface, surface, &rect, r.x() + dx, r.y() + dy); + const DFBRegion region = { rect.x + dx, rect.y + dy, r.right() + dx, r.bottom() + dy }; + surface->Flip(surface, ®ion, DSFLIP_BLIT); } bool QDirectFBWindowSurface::scroll(const QRegion ®ion, int dx, int dy) |