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

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