restore focus-follows mouse (-ffm) runtime option

This commit is contained in:
Iris Lightshard 2019-12-06 15:07:13 -05:00
parent 92b2491a18
commit e181d10b32
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

6
main.c
View file

@ -72,7 +72,7 @@ char *fontlist[] = {
void
usage(void)
{
fprintf(stderr, "usage: ryudo [-font fname] [-s] [-term prog] [-version] [-virtuals num] [exit|restart]\n");
fprintf(stderr, "usage: ryudo [-ffm] [-font fname] [-s] [-term prog] [-version] [-virtuals num] [exit|restart]\n");
exit(1);
}
@ -97,10 +97,10 @@ main(int argc, char *argv[])
nostalgia++;
else if(strcmp(argv[i], "-debug") == 0)
debug++;
/*
else if(strcmp(argv[i], "-ffm") == 0)
ffm++;
*/
else if(strcmp(argv[i], "-font") == 0 && i+1<argc){
i++;
fname = argv[i];