svkbd

simple virtual keyboard
git clone git://git.suckless.org/svkbd
Log | Files | Refs | README | LICENSE

commit 4c9182636c4db00eb8bfa92571f7917ad974b628
parent 2a2acdacaa3655819af6ea308ffee98dbedb33f9
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat,  3 Jul 2021 11:45:15 +0200

no need to initialize these variables here

Diffstat:
Msvkbd.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/svkbd.c b/svkbd.c @@ -661,8 +661,8 @@ run(void) int xfd; fd_set fds; struct timeval tv; - double duration = 0.0; - int overlayidx = -1; + double duration; + int overlayidx; int i, r; xfd = ConnectionNumber(dpy); @@ -958,7 +958,7 @@ updatekeys(void) { int i, j; double base; - int x = 0, y = 0, h, r = rows; + int x, y = 0, h, r = rows; h = (wh - 1) / rows; for (i = 0; i < numkeys; i++, r--) {