summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/eglfs/qeglfswindow.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2013-10-01 11:38:40 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-01 12:58:17 +0200
commit4e20df5fc5bffa661ae44255d9a194cc6e8cf290 (patch)
treeeddb6a66090f2383bd78134d3cfc1c4fad9ce990 /src/plugins/platforms/eglfs/qeglfswindow.h
parentd8a489ccc25fa86825eb1c5ad91669c26153cb18 (diff)
eglfs: Make QML root objects sized to view working again
The size is queried from the window before create() is called. Therefore Quick apps were not covering the entire screen as they should. This is now fixed by properly returning the fullscreen geometry from QEglFSWindow::geometry() even when create() has not yet been called. Pre-5.2 this was working because the QEglFSWindow constructor changed the window state. This is not feasible anymore with the recent compositing changes since the second, third, etc. windows are not fullscreen. Task-number: QTBUG-33620 Change-Id: If66d35f6f4768485d4e68c5ad825fe7a9d948a64 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/qeglfswindow.h')
-rw-r--r--src/plugins/platforms/eglfs/qeglfswindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfswindow.h b/src/plugins/platforms/eglfs/qeglfswindow.h
index a5a25409b2..71c0ed5c27 100644
--- a/src/plugins/platforms/eglfs/qeglfswindow.h
+++ b/src/plugins/platforms/eglfs/qeglfswindow.h
@@ -58,6 +58,7 @@ public:
~QEglFSWindow();
void setGeometry(const QRect &);
+ QRect geometry() const;
WId winId() const;
void setVisible(bool visible);
void requestActivateWindow();