summaryrefslogtreecommitdiffstats
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorMai <mai.iam2048@gmail.com>2022-12-17 22:05:46 +0100
committerGitHub <noreply@github.com>2022-12-17 22:05:46 +0100
commitda31326c17d715118795691f371dd50f7483efb4 (patch)
tree125390dcaf0d4681f0517e5a4acc3802c07eec6e /src/yuzu/main.cpp
parentMerge pull request #9451 from ameerj/camera-data-array (diff)
parentqt: handle wayland-egl platform name (diff)
downloadyuzu-da31326c17d715118795691f371dd50f7483efb4.tar
yuzu-da31326c17d715118795691f371dd50f7483efb4.tar.gz
yuzu-da31326c17d715118795691f371dd50f7483efb4.tar.bz2
yuzu-da31326c17d715118795691f371dd50f7483efb4.tar.lz
yuzu-da31326c17d715118795691f371dd50f7483efb4.tar.xz
yuzu-da31326c17d715118795691f371dd50f7483efb4.tar.zst
yuzu-da31326c17d715118795691f371dd50f7483efb4.zip
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 70552bdb8..2e6c2311a 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -3067,7 +3067,8 @@ static QScreen* GuessCurrentScreen(QWidget* window) {
bool GMainWindow::UsingExclusiveFullscreen() {
return Settings::values.fullscreen_mode.GetValue() == Settings::FullscreenMode::Exclusive ||
- QGuiApplication::platformName() == QStringLiteral("wayland");
+ QGuiApplication::platformName() == QStringLiteral("wayland") ||
+ QGuiApplication::platformName() == QStringLiteral("wayland-egl");
}
void GMainWindow::ShowFullscreen() {