From 747c90be2dcb78d32295b3b2de5903757e235874 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Mon, 12 Sep 2011 17:59:04 +0200 Subject: [PATCH] moved drawmsg call --- dunst.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dunst.c b/dunst.c index e78bd1c..6c447fd 100644 --- a/dunst.c +++ b/dunst.c @@ -98,7 +98,6 @@ pop(msg_queue_t *queue) { } new_head = queue->next; new_head->start = now; - drawmsg(new_head->msg); free(queue); return new_head; } @@ -175,6 +174,8 @@ next_win(void) { XUnmapWindow(dc->dpy, win); XFlush(dc->dpy); visible = False; + } else { + drawmsg(msgqueuehead->msg); } }