Allow correct item to get icon updates for both kde and gtk implementation

This commit is contained in:
gnidorah 2017-11-16 06:56:56 +03:00 committed by Calvin Lee
parent 13b81f9fb9
commit cbd0c49a8c

View file

@ -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;
}