mirror of
https://github.com/scummvm/scummvm.git
synced 2024-05-15 18:44:38 -04:00
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:
parent
3e2ca85d56
commit
f3286cb571
|
@ -13,3 +13,4 @@ Terminal=false
|
|||
Type=Application
|
||||
Categories=Game;AdventureGame;
|
||||
StartupNotify=false
|
||||
StartupWMClass=scummvm
|
||||
|
|
Loading…
Reference in a new issue