commit 2806bed425073b9f379019fed424b1e51e4bca85
parent 3a5d2f3ed8e539209c2e07a995532c91b20faf8f
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 9 Oct 2011 18:00:21 +0200
Making -g -geometry compatible.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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;