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

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