diff options
| author | gnidorah <gnidorah@users.noreply.github.com> | 2017-11-16 06:56:56 +0300 |
|---|---|---|
| committer | Calvin Lee <cyrus296@gmail.com> | 2017-12-29 12:11:51 -0700 |
| commit | cbd0c49a8cf5a11d1bcc27629a7a71f7fb9d9df2 (patch) | |
| tree | 56b07ff95736619a0cb0901a4f36f6e6d4b5633a | |
| parent | 13b81f9fb91ee20a41ccdd955c2539d46ef6b6e1 (diff) | |
Allow correct item to get icon updates for both kde and gtk implementation
| -rw-r--r-- | swaybar/tray/sni.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/tray/sni.c b/swaybar/tray/sni.c index 98934e11..be7d9fd7 100644 --- a/swaybar/tray/sni.c +++ b/swaybar/tray/sni.c @@ -346,7 +346,7 @@ int sni_obj_name_cmp(const void *_item, const void *_obj_name) { const struct StatusNotifierItem *item = _item; const struct ObjName *obj_name = _obj_name; - if (strcmp(item->name, obj_name->name) == 0 && + if (strcmp(item->unique_name, obj_name->name) == 0 && strcmp(item->object_path, obj_name->obj_path) == 0) { return 0; } |
