From 2806bed425073b9f379019fed424b1e51e4bca85 Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Sun, 9 Oct 2011 18:00:21 +0200 Subject: [PATCH] Making -g -geometry compatible. --- svkbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/svkbd.c b/svkbd.c index e5295df..864274f 100644 --- a/svkbd.c +++ b/svkbd.c @@ -585,7 +585,7 @@ main(int argc, char *argv[]) { } else if(!strcmp(argv[i], "-d")) { isdock = True; continue; - } else if(!strcmp(argv[i], "-g")) { + } else if(!strncmp(argv[i], "-g", 2)) { bitm = XParseGeometry(argv[i+1], &xr, &yr, &wr, &hr); if(bitm & XValue) wx = xr;