DISTS: Set StartupWMClass in .desktop file (#5763)

- due to the change to the rDNS-based filename some window managers like
  Cinnamon can't find the according desktop file for scummvm's
  application window anymore
- this causes some unwanted behavior (e.g. not using the correct icons
  in the task switcher)
- before commit f683b9b916 the mapping
  worked by matching the WM_CLASS property of the scummvm window to
  the filename of the desktop file
- this patch sets the StartupWMClass property in the .desktop file to
  the name of scummvm's WM_CLASS X property which will allow a proper
  mapping
- the WM_CLASS property is set by SDL to the base name of ScummVM binary.
This commit is contained in:
Christian Krause 2024-04-27 17:15:34 +02:00 committed by GitHub
parent 3e2ca85d56
commit f3286cb571
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,3 +13,4 @@ Terminal=false
Type=Application
Categories=Game;AdventureGame;
StartupNotify=false
StartupWMClass=scummvm