From 0e5b5b240b3561202202c9ed8aa8dedef4952566 Mon Sep 17 00:00:00 2001 From: speedie Date: Sun, 11 Jun 2023 22:48:22 +0200 Subject: [PATCH] forgot we need to remove the top line too --- libs/img.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/img.c b/libs/img.c index e2c5f98..c5e13f6 100644 --- a/libs/img.c +++ b/libs/img.c @@ -367,7 +367,7 @@ void resizetoimageheight_x11(int imageheight) { lines = (imageheight + imagegaps * 2) / bh; if (fullscreen) { - lines = imageheight / bh; + lines = imageheight / bh - 1; } } @@ -466,7 +466,7 @@ void resizetoimageheight_wl(int imageheight) { lines = (imageheight + imagegaps * 2) / bh; if (fullscreen) { - lines = imageheight / bh; + lines = imageheight / bh - 1; } }