Blame SOURCES/0001-top-icons-Don-t-use-wm_class-as-role.patch

b19d38
From f0e4618bf0752aaf094d78b4c810ebda817ccaad Mon Sep 17 00:00:00 2001
1205f8
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
1205f8
Date: Wed, 2 Jun 2021 17:32:21 +0200
1205f8
Subject: [PATCH] top-icons: Don't use wm_class as role
1205f8
1205f8
This prevents adding icons for multiple instances of the same app,
1205f8
which may be desirable in some circumstances.
1205f8
---
1205f8
 extensions/top-icons/extension.js | 2 +-
1205f8
 1 file changed, 1 insertion(+), 1 deletion(-)
1205f8
1205f8
diff --git a/extensions/top-icons/extension.js b/extensions/top-icons/extension.js
b19d38
index 79e2f42..3dfba46 100644
1205f8
--- a/extensions/top-icons/extension.js
1205f8
+++ b/extensions/top-icons/extension.js
1205f8
@@ -63,7 +63,7 @@ class SysTray {
1205f8
             button.destroy();
1205f8
         });
1205f8
 
1205f8
-        let role = wmClass || `${icon}`;
1205f8
+        const role = `${icon}`;
1205f8
         Main.panel.addToStatusArea(role, button);
1205f8
     }
1205f8
 
1205f8
-- 
b19d38
2.32.0
1205f8