svkbd

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

commit e43381833b3af219c3e126f1ee6283668e303cea
parent ef52905a3fdcfc66d7d457a8828731cb69d64e97
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed, 19 Oct 2011 10:49:23 +0200

Fixing -g option.
Diffstat:
svkbd.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/svkbd.c b/svkbd.c @@ -582,6 +582,9 @@ main(int argc, char *argv[]) { isdock = True; continue; } else if(!strncmp(argv[i], "-g", 2)) { + if(i >= argc - 1) + continue; + bitm = XParseGeometry(argv[i+1], &xr, &yr, &wr, &hr); if(bitm & XValue) wx = xr;