fix id when replacing notifications (freedesktop standard expects same id)
This commit is contained in:
parent
0e063637db
commit
04c9e70484
2
dunst.c
2
dunst.c
@ -970,7 +970,7 @@ int init_notification(notification * n, int id)
|
|||||||
n->id = ++next_notification_id;
|
n->id = ++next_notification_id;
|
||||||
} else {
|
} else {
|
||||||
close_notification_by_id(id, -1);
|
close_notification_by_id(id, -1);
|
||||||
n->id = ++next_notification_id;
|
n->id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(strlen(n->msg) == 0) {
|
if(strlen(n->msg) == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user