summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2010-12-06 08:47:32 +0100
committerGunnar Sletta <gunnar.sletta@nokia.com>2010-12-06 08:47:55 +0100
commitbe41c140594ccea16ce17ccca7251d614cc75e1e (patch)
treeeb3e97fcc12b78f21ba9980bd2e70b29e243a197 /src/plugins/platforms/eglfs
parent697f2f96eccaaf9feb2f6e92603e86e30e67cdb8 (diff)
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.cpp3
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);
}