summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReilly Brogan <reilly@reillybrogan.com>2023-12-30 00:19:48 +0100
committerReilly Brogan <reilly@reillybrogan.com>2023-12-30 03:32:08 +0100
commitcb4b4f3d6e531a67df9641f791ade284ffd507cb (patch)
treea0b5c73d0aad65f1bcd87af54b78b184c54ec83c /src
parentMerge pull request #12455 from liamwhite/end-wait (diff)
downloadyuzu-cb4b4f3d6e531a67df9641f791ade284ffd507cb.tar
yuzu-cb4b4f3d6e531a67df9641f791ade284ffd507cb.tar.gz
yuzu-cb4b4f3d6e531a67df9641f791ade284ffd507cb.tar.bz2
yuzu-cb4b4f3d6e531a67df9641f791ade284ffd507cb.tar.lz
yuzu-cb4b4f3d6e531a67df9641f791ade284ffd507cb.tar.xz
yuzu-cb4b4f3d6e531a67df9641f791ade284ffd507cb.tar.zst
yuzu-cb4b4f3d6e531a67df9641f791ade284ffd507cb.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 059fcf041..c789c1e59 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -5342,6 +5342,10 @@ int main(int argc, char* argv[]) {
if (QString::fromLocal8Bit(qgetenv("DISPLAY")).isEmpty()) {
qputenv("DISPLAY", ":0");
}
+
+ // Fix the Wayland appId. This needs to match the name of the .desktop file without the .desktop
+ // suffix.
+ QGuiApplication::setDesktopFileName(QStringLiteral("org.yuzu_emu.yuzu"));
#endif
SetHighDPIAttributes();