forgot we need to remove the top line too

This commit is contained in:
speedie 2023-06-11 22:48:22 +02:00
parent f6df89845e
commit 0e5b5b240b

View file

@ -367,7 +367,7 @@ void resizetoimageheight_x11(int imageheight) {
lines = (imageheight + imagegaps * 2) / bh; lines = (imageheight + imagegaps * 2) / bh;
if (fullscreen) { if (fullscreen) {
lines = imageheight / bh; lines = imageheight / bh - 1;
} }
} }
@ -466,7 +466,7 @@ void resizetoimageheight_wl(int imageheight) {
lines = (imageheight + imagegaps * 2) / bh; lines = (imageheight + imagegaps * 2) / bh;
if (fullscreen) { if (fullscreen) {
lines = imageheight / bh; lines = imageheight / bh - 1;
} }
} }