forgot we need to remove the top line too
This commit is contained in:
parent
f6df89845e
commit
0e5b5b240b
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue