summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-07-02 00:58:49 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-07-02 00:58:49 (GMT)
commit35a4141f01ab9db910c85ccb89e76058aa3ac5cf (patch)
tree824b435223ff1dac97d2490fc11cd43ba2c99237 /src
parent765a6676e04b19a9af298096f9d4f0a6e571ccbd (diff)
downloadQt-35a4141f01ab9db910c85ccb89e76058aa3ac5cf.zip
Qt-35a4141f01ab9db910c85ccb89e76058aa3ac5cf.tar.gz
Qt-35a4141f01ab9db910c85ccb89e76058aa3ac5cf.tar.bz2
We still need to Flip in NO_WM mode
This ifdef was simply in the wrong place. Reviewed-by: Donald <qt-info@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
index 71e1fde..86ee62c 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp
@@ -364,6 +364,7 @@ void QDirectFBWindowSurface::flush(QWidget *widget, const QRegion &region,
if (winOpacity != opacity)
dfbWindow->SetOpacity(dfbWindow, winOpacity);
}
+#endif
if (!(flipFlags & DSFLIP_BLIT)) {
dfbSurface->Flip(dfbSurface, 0, flipFlags);
} else {
@@ -385,7 +386,6 @@ void QDirectFBWindowSurface::flush(QWidget *widget, const QRegion &region,
dfbSurface->Flip(dfbSurface, &dfbReg, flipFlags);
}
}
-#endif
#ifdef QT_DIRECTFB_TIMING
enum { Secs = 3 };
++frames;