{
int ch;
- while ((ch = getopt(argc, argv, "ip:rtw")) != -1) {
+ while ((ch = getopt(argc, argv, "ip:rw")) != -1) {
switch (ch) {
case 'i':
iflag = 1;
case 'r':
rflag = 1;
break;
- case 't':
- config.typetoselect = !config.typetoselect;
- break;
case 'w':
wflag = 1;
break;
break;
default:
append:
- if (!config.typetoselect)
- break;
for (i = 0; i < 2; i++) {
append(text, buf, sizeof text, len);
if ((item = matchitem(currmenu, text, 0)))
if ((xim = XOpenIM(dpy, NULL, NULL, NULL)) == NULL)
errx(1, "XOpenIM: could not open input device");
- /* get configuration */
+ /* process configuration and window class */
getresources();
classh.res_class = PROGNAME;
classh.res_name = getoptions(argc, argv);