Skip to content

Commit

Permalink
[Dist] set the correct WM Class in the flatpak Desktop Entry (#4181)
Browse files Browse the repository at this point in the history
* [Dist] set the correct WM Class in the flatpak Desktop Entry

* [Dist] Set `SingleMainWindow` in the flatpak Desktop Entry

This hints to the DE that the application only supports one "main"
window.

In GNOME, this prevents the DE adding a useless "New Window" button.
  • Loading branch information
MattSturgeon authored Dec 30, 2024
1 parent d7e42b2 commit a4f7937
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flatpak/com.heroicgameslauncher.hgl.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
Name=Heroic Games Launcher
Exec=heroic-run --ozone-platform-hint=auto %u
Terminal=false
SingleMainWindow=true
Type=Application
Icon=com.heroicgameslauncher.hgl
StartupWMClass=Heroic
StartupWMClass=heroic
Comment=An Open Source Launcher for GOG, Epic Games and Amazon Games
Comment[de]=Ein OSS-Spielelauncher für GOG, Epic Games und Amazon Games
Comment[pl]=Otwartoźródłowy launcher dla GOG, Epic Games i Amazon Games
Expand Down

0 comments on commit a4f7937

Please sign in to comment.