diff --git a/src/options.c b/src/options.c index 2a5aae80fbcd2c8ab67b6bf976da35f5c5843a7c..4c34b665001547a4607733377745c08e6e78851f 100644 --- a/src/options.c +++ b/src/options.c @@ -73,6 +73,9 @@ void init_parse_options(int argc, char **argv) opt.xinerama = 1; opt.xinerama_index = -1; #endif /* HAVE_LIBXINERAMA */ +#ifdef HAVE_INOTIFY + opt.auto_reload = 1; +#endif /* HAVE_INOTIFY */ feh_getopt_theme(argc, argv); @@ -519,6 +522,9 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) break; case 'R': opt.reload = atof(optarg); +#ifdef HAVE_INOTIFY + opt.auto_reload = 0; +#endif break; case 'S': if (!strcasecmp(optarg, "name"))