diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-10-06 15:33:19 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-10-13 22:11:25 (GMT) |
commit | b3ee3b8e681f3d5d7dd42a5b6391ec473c78a28a (patch) | |
tree | 742f84e09a856e22e472ada7cfeb496dbff120ed /src/plugins/gfxdrivers/directfb | |
parent | 5cf4e269ecaeda3cd847b2d7704fa5c94dbf0fae (diff) | |
download | Qt-b3ee3b8e681f3d5d7dd42a5b6391ec473c78a28a.zip Qt-b3ee3b8e681f3d5d7dd42a5b6391ec473c78a28a.tar.gz Qt-b3ee3b8e681f3d5d7dd42a5b6391ec473c78a28a.tar.bz2 |
Make sure we don't repaint when moving a window
We need to make sure the QDirectFBWindowSurface returns true for
isBuffered(). Otherwise QWSWindowSurface will force a repaint when
moved.
Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb')
-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 f33e820..a409ce5 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp @@ -276,6 +276,8 @@ void QDirectFBWindowSurface::setPermanentState(const QByteArray &state) { if (state.size() == sizeof(this)) { sibling = *reinterpret_cast<QDirectFBWindowSurface *const*>(state.constData()); + Q_ASSERT(sibling); + sibling->setSurfaceFlags(surfaceFlags()); } } |