diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-12-06 08:47:32 +0100 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-12-06 08:47:55 +0100 |
commit | be41c140594ccea16ce17ccca7251d614cc75e1e (patch) | |
tree | eb3e97fcc12b78f21ba9980bd2e70b29e243a197 /src/plugins/platforms/eglfs | |
parent | 697f2f96eccaaf9feb2f6e92603e86e30e67cdb8 (diff) | |
download | qt4-tools-be41c140594ccea16ce17ccca7251d614cc75e1e.tar.gz |
Propegate fullscreen screen size back to toplevel widgets
Reviewed by: Jørgen Lind
Diffstat (limited to 'src/plugins/platforms/eglfs')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfswindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp index d0e15d3adf..b5b7e05a48 100644 --- a/src/plugins/platforms/eglfs/qeglfswindow.cpp +++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp @@ -62,6 +62,9 @@ void QEglFSWindow::setGeometry(const QRect &) QRect rect(m_screen->availableGeometry()); QWindowSystemInterface::handleGeometryChange(this->widget(), rect); + // Since toplevels are fullscreen, propegate the screen size back to the widget + widget()->setGeometry(rect); + QPlatformWindow::setGeometry(rect); } |