From 2844b5bd1a058e0c401e4f96a0df4777b4a679f8 Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Mon, 11 Jan 2021 18:39:43 +0100 Subject: [PATCH] Do not activate embedded mode for wayland Embedded (fullscreen) mode was activated automatically if QPA platform type is eglfs, wayland or linuxfb. However although setting window size to -1 does result in fullscreen on eglfs, on wayland it results in "Client tried to set invalid geometry" Do not activate embedded mode for wayland. Closes #143 --- imagewriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagewriter.cpp b/imagewriter.cpp index a6b0a97..0c54c25 100644 --- a/imagewriter.cpp +++ b/imagewriter.cpp @@ -46,7 +46,7 @@ ImageWriter::ImageWriter(QObject *parent) connect(&_polltimer, SIGNAL(timeout()), SLOT(pollProgress())); QString platform = QGuiApplication::platformName(); - if (platform == "eglfs" || platform == "wayland" || platform == "linuxfb") + if (platform == "eglfs" || platform == "linuxfb") { _embeddedMode = true; connect(&_networkchecktimer, SIGNAL(timeout()), SLOT(pollNetwork()));