eglfs: prevent expose/geometrychange loop
This prevents EGLFS from getting stuck after exposing the first frame, by constantly generating new Expose and GeometryChange events which are synchronously processed. Change-Id: Id3b09821ea31e9c1ddab7c520e782a4e42844a08 Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
This commit is contained in:
parent
101c47242b
commit
51a35f5c02
@ -68,11 +68,11 @@ QEglFSWindow::~QEglFSWindow()
|
||||
|
||||
void QEglFSWindow::create()
|
||||
{
|
||||
setWindowState(Qt::WindowFullScreen);
|
||||
|
||||
if (m_window)
|
||||
return;
|
||||
|
||||
setWindowState(Qt::WindowFullScreen);
|
||||
|
||||
if (window()->type() == Qt::Desktop) {
|
||||
QRect rect(QPoint(), QEglFSHooks::hooks()->screenSize());
|
||||
QPlatformWindow::setGeometry(rect);
|
||||
|
Loading…
Reference in New Issue
Block a user