From c5e1059031e2e22c90b9f7088f3151264be16e51 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 14 Feb 2010 21:32:35 +0100 Subject: Remove fmmode relicts --- src/main.c | 7 ------- src/options.c | 7 ------- src/options.h | 1 - 3 files changed, 15 deletions(-) diff --git a/src/main.c b/src/main.c index 7bea2ab..386943f 100644 --- a/src/main.c +++ b/src/main.c @@ -68,13 +68,6 @@ int main(int argc, char **argv) feh_wm_set_bg_file(opt.output_file, opt.bgmode); exit(0); } -/* else if (opt.fmmode) - { - fmmode(); - opt.slideshow = 1; - init_slideshow_mode(); - } - */ else { /* Slideshow mode is the default. Because it's spiffy */ opt.slideshow = 1; diff --git a/src/options.c b/src/options.c index 4e05c9c..de9e58a 100644 --- a/src/options.c +++ b/src/options.c @@ -83,8 +83,6 @@ void init_parse_options(int argc, char **argv) opt.xinerama = 1; #endif /* HAVE_LIBXINERAMA */ - opt.fmmode = 0; - D(3, ("About to parse env options (if any)\n")); /* Check for and parse any options in FEH_OPTIONS */ feh_parse_environment_options(); @@ -388,7 +386,6 @@ static void feh_parse_option_array(int argc, char **argv) {"action7", 1, 0, 216}, {"action8", 1, 0, 217}, {"action9", 1, 0, 218}, - {"fmmode", 0, 0, 219}, {"draw-actions", 0, 0, 222}, {"cache-thumbnails", 0, 0, 223}, {"cycle-once", 0, 0, 224}, @@ -710,10 +707,6 @@ static void feh_parse_option_array(int argc, char **argv) case 221: opt.hide_pointer = 1; break; - case 219: - opt.fmmode = 1; - opt.sort = SORT_FILENAME; - break; case 222: opt.draw_actions = 1; break; diff --git a/src/options.h b/src/options.h index cba2b37..a06643f 100644 --- a/src/options.h +++ b/src/options.h @@ -66,7 +66,6 @@ struct __fehoptions { unsigned char xinerama; unsigned char screen_clip; unsigned char hide_pointer; - unsigned char fmmode; unsigned char draw_actions; unsigned char cache_thumbnails; unsigned char cycle_once; -- cgit v1.2.3