fix height calculation
This commit is contained in:
parent
345a35fe9f
commit
73e4ab0e00
2
dunst.c
2
dunst.c
@ -607,7 +607,7 @@ void draw_win(void)
|
|||||||
/* resize dc to correct width */
|
/* resize dc to correct width */
|
||||||
|
|
||||||
int height = (line_cache.count * line_height)
|
int height = (line_cache.count * line_height)
|
||||||
+ ((line_cache.count - 1) * separator_height);
|
+ (separator_height * (n_queue_len(&displayed) - 1));
|
||||||
|
|
||||||
|
|
||||||
resizedc(dc, width, height);
|
resizedc(dc, width, height);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user