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

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