From aede2709b0b9a4e70b10c39e044a91a53417ac2d Mon Sep 17 00:00:00 2001 From: Jehan Date: Wed, 11 Jun 2025 15:09:47 +0200 Subject: [PATCH] Issue #14233: incorrect StartupWMClass in gimp.desktop. The WM_CLASS X property is apparently set to windows throughout the program by the g_set_prgname() call which we changed in commit 95e32ebb34 from being the executable name (being the fully qualified program name with the version) to the desktop name. --- desktop/gimp.desktop.in.in | 2 +- desktop/meson.build | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/gimp.desktop.in.in b/desktop/gimp.desktop.in.in index ca9b81babe..cd1d6336cb 100644 --- a/desktop/gimp.desktop.in.in +++ b/desktop/gimp.desktop.in.in @@ -18,4 +18,4 @@ Terminal=false Categories=Graphics;2DGraphics;RasterGraphics;GTK; StartupNotify=true MimeType=@MIME_TYPES@ -StartupWMClass=gimp-@GIMP_APP_VERSION@ +StartupWMClass=@GIMP_DESKTOP_NAME@ diff --git a/desktop/meson.build b/desktop/meson.build index ec2d445bb6..e913387d0f 100644 --- a/desktop/meson.build +++ b/desktop/meson.build @@ -4,6 +4,7 @@ desktop_conf = configuration_data() desktop_conf.set('GIMP_COMMAND', gimp_command) desktop_conf.set('GIMP_VERSION', gimp_version) desktop_conf.set('GIMP_APP_VERSION', gimp_app_version) +desktop_conf.set('GIMP_DESKTOP_NAME', gimp_desktop_name) desktop_conf.set('MIME_TYPES', ';'.join(MIMEtypes)) desktop_conf.set('BUG_REPORT_URL', bug_report_url)