Making -g -geometry compatible.
This commit is contained in:
parent
3a5d2f3ed8
commit
2806bed425
2
svkbd.c
2
svkbd.c
@ -585,7 +585,7 @@ main(int argc, char *argv[]) {
|
|||||||
} else if(!strcmp(argv[i], "-d")) {
|
} else if(!strcmp(argv[i], "-d")) {
|
||||||
isdock = True;
|
isdock = True;
|
||||||
continue;
|
continue;
|
||||||
} else if(!strcmp(argv[i], "-g")) {
|
} else if(!strncmp(argv[i], "-g", 2)) {
|
||||||
bitm = XParseGeometry(argv[i+1], &xr, &yr, &wr, &hr);
|
bitm = XParseGeometry(argv[i+1], &xr, &yr, &wr, &hr);
|
||||||
if(bitm & XValue)
|
if(bitm & XValue)
|
||||||
wx = xr;
|
wx = xr;
|
||||||
|
Loading…
Reference in New Issue
Block a user