Explorar o código

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
backwardspy %!s(int64=4) %!d(string=hai) anos
pai
achega
7b346258a9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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