Skip to content

Commit

Permalink
DISTS: Set StartupWMClass in .desktop file
Browse files Browse the repository at this point in the history
- 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 4955800 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
  • Loading branch information
chkr-private committed Apr 25, 2024
1 parent 2c3af46 commit 444d560
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dists/org.scummvm.scummvm.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ Terminal=false
Type=Application
Categories=Game;AdventureGame;
StartupNotify=false
StartupWMClass=scummvm

0 comments on commit 444d560

Please sign in to comment.