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

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