Fixing -g option.

master
Christoph Lohmann 13 years ago
parent ef52905a3f
commit e43381833b
  1. 3
      svkbd.c

@ -582,6 +582,9 @@ main(int argc, char *argv[]) {
isdock = True; isdock = True;
continue; continue;
} else if(!strncmp(argv[i], "-g", 2)) { } else if(!strncmp(argv[i], "-g", 2)) {
if(i >= argc - 1)
continue;
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…
Cancel
Save