mirror of
https://github.com/swaywm/sway.git
synced 2026-03-30 11:10:59 -04:00
Allow correct item to get icon updates for both kde and gtk implementation
This commit is contained in:
parent
13b81f9fb9
commit
cbd0c49a8c
1 changed files with 1 additions and 1 deletions
|
|
@ -346,7 +346,7 @@ int sni_obj_name_cmp(const void *_item, const void *_obj_name) {
|
||||||
const struct StatusNotifierItem *item = _item;
|
const struct StatusNotifierItem *item = _item;
|
||||||
const struct ObjName *obj_name = _obj_name;
|
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) {
|
strcmp(item->object_path, obj_name->obj_path) == 0) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue