From 2650d3667c2fc39703501c8f8238fd3e0cff2638 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Fri, 21 Dec 2012 14:14:23 +0100 Subject: [PATCH] fix height when (x more) is added --- dunst.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dunst.c b/dunst.c index f7936cd..5e7c5cd 100644 --- a/dunst.c +++ b/dunst.c @@ -803,6 +803,7 @@ void draw_win(void) int height = (line_cache.count * line_height) + n_queue_len(&displayed) * 2 * padding + + ((indicate_hidden && n_queue_len(&queue) > 0) ? 2 * padding : 0) + (separator_height * (n_queue_len(&displayed) - 1));