Browse Source

set StartupWMClass in linux `.desktop` file

this allows linux app launchers and docks to correctly associate the godot project selector & editor windows with the icon used to launch godot.
it prevents this problem specifically: https://askubuntu.com/questions/1144214/why-does-my-custom-launcher-file-create-two-icons-on-the-launcher-bar

(cherry picked from commit 7b346258a991d205fb203034af99c8cf80b301ee)
backwardspy 4 years ago
parent
commit
0118a95976
1 changed files with 1 additions and 0 deletions
  1. 1 0
      misc/dist/linux/org.godotengine.Godot.desktop

+ 1 - 0
misc/dist/linux/org.godotengine.Godot.desktop

@@ -9,3 +9,4 @@ PrefersNonDefaultGPU=true
 Type=Application
 Type=Application
 MimeType=application/x-godot-project;
 MimeType=application/x-godot-project;
 Categories=Development;IDE;
 Categories=Development;IDE;
+StartupWMClass=Godot