qWarning("QEglWindow %p: %p 0x%x\n", this, w, uint(m_winid));
#endif
- QRect screenGeometry(screen()->availableGeometry());
- if (w->geometry() != screenGeometry) {
- QWindowSystemInterface::handleGeometryChange(w, screenGeometry);
- }
+ setWindowState(Qt::WindowFullScreen);
}
void QEglFSWindow::setGeometry(const QRect &)
QPlatformWindow::setGeometry(rect);
}
+Qt::WindowState QEglFSWindow::setWindowState(Qt::WindowState state)
+{
+ setGeometry(QRect());
+ return Qt::WindowFullScreen;
+}
+
WId QEglFSWindow::winId() const
{
return m_winid;