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);