tNow the bottom border is drawn again. - svkbd - Simple X11 onscreen keyboard.
(HTM) git clone git://r-36.net/svkbd
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit d4336c659c3ba6639fd8737a5baa423eeadca2c4
(DIR) parent f3ec05ff3771b2fda6c59a350f1f1dbff3401a56
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Wed, 13 Apr 2011 19:09:53 +0200
Now the bottom border is drawn again.
Diffstat:
svkbd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/svkbd.c b/svkbd.c
t@@ -462,7 +462,7 @@ updatekeys() {
keys[i].x = x;
keys[i].y = y;
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;
}
if(base != 0)