Blame SOURCES/0001-app-Fall-back-to-window-title-instead-of-WM_CLASS.patch

671c89
From 23755cc20f3c05b97f769e27553f2ab482d60137 Mon Sep 17 00:00:00 2001
671c89
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
671c89
Date: Wed, 20 May 2015 16:44:00 +0200
671c89
Subject: [PATCH] app: Fall back to window title instead of WM_CLASS
671c89
671c89
It's a bad fallback as it's clearly window-specific (rather than
671c89
app-specific), but it likely looks prettier when we fail to associate
671c89
a .desktop file ...
671c89
---
671c89
 src/shell-app.c | 2 +-
671c89
 1 file changed, 1 insertion(+), 1 deletion(-)
671c89
671c89
diff --git a/src/shell-app.c b/src/shell-app.c
671c89
index 10efa9135..7d40186c9 100644
671c89
--- a/src/shell-app.c
671c89
+++ b/src/shell-app.c
671c89
@@ -259,7 +259,7 @@ shell_app_get_name (ShellApp *app)
671c89
       const char *name = NULL;
671c89
 
671c89
       if (window)
671c89
-        name = meta_window_get_wm_class (window);
671c89
+        name = meta_window_get_title (window);
671c89
       if (!name)
671c89
         name = C_("program", "Unknown");
671c89
       return name;
671c89
-- 
671c89
2.21.0
671c89