Skip to content

Commit

Permalink
fix: wayland appId (#1100)
Browse files Browse the repository at this point in the history
Signed-off-by: Reilly Brogan <[email protected]>
  • Loading branch information
ReillyBrogan authored Dec 1, 2024
1 parent a75c88b commit 254e95c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion other/io.github.antimicrox.antimicrox.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Categories=Game;Qt;Utility;
MimeType=application/x-amgp;
Keywords=game;controller;keyboard;joystick;mouse;
Actions=run-in-tray;
StartupWMClass=antimicrox

[Desktop Action run-in-tray]
Name=Open in system tray only
Expand Down
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,9 @@ int main(int argc, char *argv[])
QTranslator qtTranslator;

#if defined(Q_OS_UNIX)
// Ensure that the Wayland appId matches the .desktop file name
QGuiApplication::setDesktopFileName("io.github.antimicrox.antimicrox");

installSignalHandlers();

QString transPath = QLibraryInfo::location(QLibraryInfo::TranslationsPath);
Expand Down

0 comments on commit 254e95c

Please sign in to comment.