Benedikt Heine
3fab4c470b
Increment id counter only for displayed notifications
...
Previously for every notification (also stacked ones), a new
notification id was used, even if the notification got discarded.
2017-10-29 20:38:40 +01:00
Benedikt Heine
f869175d0d
Move id assignment to separate function in queues.c
...
Move all id-changing functions out of notification_init and handle this
in queues.c
Also use stack_duplicates in combination with replacement of
notifications correctly. Fixes #404 (issue not found)
2017-10-29 20:38:40 +01:00
Benedikt Heine
af9f6b8b7d
Move maximum notification display count to x11
...
Decouple the x11 stuff from dunst.c, to be able to push update_lists to
queues.c in the next commit
2017-10-29 20:38:40 +01:00
Benedikt Heine
7110734b6e
Move queue initialization to queues.c
2017-10-29 20:38:40 +01:00
Benedikt Heine
7f335b79d2
Uncouple dunst.h from queues.c again
2017-10-29 20:38:40 +01:00
Benedikt Heine
a7003e3616
Refactor: Move queue specific methods to queues.c
2017-10-29 20:38:40 +01:00