mirror of git://git.suckless.org/svkbd
Now the bottom border is drawn again.
This commit is contained in:
parent
f3ec05ff37
commit
d4336c659c
2
svkbd.c
2
svkbd.c
|
@ -462,7 +462,7 @@ updatekeys() {
|
||||||
keys[i].x = x;
|
keys[i].x = x;
|
||||||
keys[i].y = y;
|
keys[i].y = y;
|
||||||
keys[i].w = keys[i].width * (ww - 1) / base;
|
keys[i].w = keys[i].width * (ww - 1) / base;
|
||||||
keys[i].h = r == 1 ? wh - y : h;
|
keys[i].h = r == 1 ? wh - y - 1 : h;
|
||||||
x += keys[i].w;
|
x += keys[i].w;
|
||||||
}
|
}
|
||||||
if(base != 0)
|
if(base != 0)
|
||||||
|
|
Loading…
Reference in New Issue