Skip to content

Commit

Permalink
Do not activate embedded mode for wayland
Browse files Browse the repository at this point in the history
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
  • Loading branch information
maxnet committed Jan 11, 2021
1 parent 7c1c111 commit 2844b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imagewriter.cpp
Expand Up @@ -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()));
Expand Down

0 comments on commit 2844b5b

Please sign in to comment.