From b70e4366354eb7c182c9adb0bd7ac952f432d96a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 1 Mar 2010 21:29:35 +0100 Subject: Apply patchto add --bg-fill (fullscreen background preserving aspect ratio) --- src/options.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/options.c') diff --git a/src/options.c b/src/options.c index 870388b..89dcedd 100644 --- a/src/options.c +++ b/src/options.c @@ -389,6 +389,7 @@ static void feh_parse_option_array(int argc, char **argv) {"action7", 1, 0, 215}, {"action8", 1, 0, 216}, {"action9", 1, 0, 217}, + {"bg-fill", 1, 0, 218}, {"index-name", 1, 0, 230}, {"index-size", 1, 0, 231}, {"index-dim", 1, 0, 232}, @@ -652,6 +653,10 @@ static void feh_parse_option_array(int argc, char **argv) opt.bgmode = BG_MODE_SEAMLESS; opt.output_file = estrdup(optarg); break; + case 218: + opt.bgmode = BG_MODE_FILL; + opt.output_file = estrdup(optarg); + break; case 204: free(opt.menu_style); opt.menu_style = estrdup(optarg); @@ -960,6 +965,7 @@ void show_usage(void) " --bg-tile FILE\n" " --bg-center FILE\n" " --bg-scale FILE\n" + " --bg-fill FILE\n" " --bg-seamless FILE Set your desktop background to FILE. Feh can\n" " use enlightenment IPC if you are running it,\n" " or will fall back to X methods.\n" -- cgit v1.2.3