From a4f7937b376c25f8afd8eb86a3168ac18d4fd137 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Mon, 30 Dec 2024 00:01:38 +0000 Subject: [PATCH] [Dist] set the correct WM Class in the flatpak Desktop Entry (#4181) * [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. --- flatpak/com.heroicgameslauncher.hgl.desktop | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flatpak/com.heroicgameslauncher.hgl.desktop b/flatpak/com.heroicgameslauncher.hgl.desktop index a893debedf..db3a47b9cd 100644 --- a/flatpak/com.heroicgameslauncher.hgl.desktop +++ b/flatpak/com.heroicgameslauncher.hgl.desktop @@ -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