[Scummvm-git-logs] scummvm master -> f3286cb5717a43db3f83354c73190a6e2558dfcf

lephilousophe noreply at scummvm.org
Sat Apr 27 15:15:37 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

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


Commit: f3286cb5717a43db3f83354c73190a6e2558dfcf
    https://github.com/scummvm/scummvm/commit/f3286cb5717a43db3f83354c73190a6e2558dfcf
Author: Christian Krause (chkr-private at users.noreply.github.com)
Date: 2024-04-27T17:15:34+02:00

Commit Message:
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 f683b9b916a730d93defcd12522205633588059b 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.

Changed paths:
    dists/org.scummvm.scummvm.desktop


diff --git a/dists/org.scummvm.scummvm.desktop b/dists/org.scummvm.scummvm.desktop
index 39bc6a4b1db..da2e436af70 100644
--- a/dists/org.scummvm.scummvm.desktop
+++ b/dists/org.scummvm.scummvm.desktop
@@ -13,3 +13,4 @@ Terminal=false
 Type=Application
 Categories=Game;AdventureGame;
 StartupNotify=false
+StartupWMClass=scummvm




More information about the Scummvm-git-logs mailing list