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

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