diff --git a/src/notification.c b/src/notification.c index 5f0f43c..e6c2386 100644 --- a/src/notification.c +++ b/src/notification.c @@ -146,6 +146,11 @@ int notification_cmp_data(const void *va, const void *vb, void *data) int notification_is_duplicate(const notification *a, const notification *b) { + //Comparing raw icons is not supported, assume they are not identical + if (settings.icon_position != icons_off + && (a->raw_icon != NULL || b->raw_icon != NULL)) + return false + return strcmp(a->appname, b->appname) == 0 && strcmp(a->summary, b->summary) == 0 && strcmp(a->body, b->body) == 0