From 444d5602816c5d794c3feb75ed38fb0ab4bcb502 Mon Sep 17 00:00:00 2001 From: Christian Krause Date: Tue, 23 Apr 2024 21:32:24 +0200 Subject: [PATCH] DISTS: Set StartupWMClass in .desktop file - 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 4955800221a8f4717046971af54718145b36537b 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 --- dists/org.scummvm.scummvm.desktop | 1 + 1 file changed, 1 insertion(+) diff --git a/dists/org.scummvm.scummvm.desktop b/dists/org.scummvm.scummvm.desktop index 39bc6a4b1db51..da2e436af701f 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