From f68ec64888a2e14dc77aa1f38c30a97922ae1a7a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 27 Aug 2010 07:50:15 +0200 Subject: Patch by Stefan Mark: Add --bg-max wallpaper mode --- src/options.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/options.c') diff --git a/src/options.c b/src/options.c index 606e2ee..f7381a7 100644 --- a/src/options.c +++ b/src/options.c @@ -411,6 +411,7 @@ static void feh_parse_option_array(int argc, char **argv) {"action8" , 1, 0, 216}, {"action9" , 1, 0, 217}, {"bg-fill" , 1, 0, 218}, + {"bg-max" , 1, 0, 219}, {"index-name" , 1, 0, 230}, {"index-size" , 1, 0, 231}, {"index-dim" , 1, 0, 232}, @@ -682,6 +683,10 @@ static void feh_parse_option_array(int argc, char **argv) opt.bgmode = BG_MODE_FILL; opt.output_file = estrdup(optarg); break; + case 219: + opt.bgmode = BG_MODE_MAX; + opt.output_file = estrdup(optarg); + break; case 204: free(opt.menu_style); opt.menu_style = estrdup(optarg); -- cgit v1.2.3