diff options
-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) { | |||
346 | const struct StatusNotifierItem *item = _item; | 346 | const struct StatusNotifierItem *item = _item; |
347 | const struct ObjName *obj_name = _obj_name; | 347 | const struct ObjName *obj_name = _obj_name; |
348 | 348 | ||
349 | if (strcmp(item->name, obj_name->name) == 0 && | 349 | if (strcmp(item->unique_name, obj_name->name) == 0 && |
350 | strcmp(item->object_path, obj_name->obj_path) == 0) { | 350 | strcmp(item->object_path, obj_name->obj_path) == 0) { |
351 | return 0; | 351 | return 0; |
352 | } | 352 | } |