diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-12-30 20:58:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-30 20:58:52 +0100 |
commit | 6c6cb5745ffc197b44b83a8e6393d237021dc846 (patch) | |
tree | 8fb1c6288fca29cccaacecde8f7e2d6b944271c9 | |
parent | Merge pull request #12520 from t895/settings-tomfoolery (diff) | |
parent | Fix Wayland appId (diff) | |
download | yuzu-6c6cb5745ffc197b44b83a8e6393d237021dc846.tar yuzu-6c6cb5745ffc197b44b83a8e6393d237021dc846.tar.gz yuzu-6c6cb5745ffc197b44b83a8e6393d237021dc846.tar.bz2 yuzu-6c6cb5745ffc197b44b83a8e6393d237021dc846.tar.lz yuzu-6c6cb5745ffc197b44b83a8e6393d237021dc846.tar.xz yuzu-6c6cb5745ffc197b44b83a8e6393d237021dc846.tar.zst yuzu-6c6cb5745ffc197b44b83a8e6393d237021dc846.zip |
-rw-r--r-- | src/yuzu/main.cpp | 4 |
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(); |