summaryrefslogtreecommitdiffstats
path: root/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-09-02 20:16:57 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-09-02 21:49:51 (GMT)
commitb7b8a6c4665cf39334635e7b44a538572dc53a34 (patch)
tree744e8dbcd5838981d2d0e5ab95319dc2f59e9c9d /src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
parent3b47ace59075c11705069f1e5b1b346a0341457a (diff)
downloadQt-b7b8a6c4665cf39334635e7b44a538572dc53a34.zip
Qt-b7b8a6c4665cf39334635e7b44a538572dc53a34.tar.gz
Qt-b7b8a6c4665cf39334635e7b44a538572dc53a34.tar.bz2
Create windows with the appropriate geometry
Since DirectFB allows for providing position and size on creation of windows we might as well use these fields rather than first create the surface and then resize it. Reviewed-by: Donald Carr <donald.carr@nokia.com>
Diffstat (limited to 'src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
index edecb14..7ae9bfe 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.h
@@ -99,7 +99,7 @@ private:
QDirectFBWindowSurface *sibling;
#ifdef QT_DIRECTFB_WM
- void createWindow();
+ void createWindow(const QRect &rect);
IDirectFBWindow *dfbWindow;
#else
enum Mode {