From 73e4ab0e006b9b42bee741899857358d1d3559fc Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Wed, 12 Dec 2012 14:06:04 +0100 Subject: [PATCH] fix height calculation --- dunst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dunst.c b/dunst.c index 8f9e95b..c554ed9 100644 --- a/dunst.c +++ b/dunst.c @@ -607,7 +607,7 @@ void draw_win(void) /* resize dc to correct width */ int height = (line_cache.count * line_height) - + ((line_cache.count - 1) * separator_height); + + (separator_height * (n_queue_len(&displayed) - 1)); resizedc(dc, width, height);