summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-08-27 07:50:15 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-08-27 07:50:15 +0200
commitf68ec64888a2e14dc77aa1f38c30a97922ae1a7a (patch)
tree699fc811d1ee758d1f525de51c5d1cbb4b9685b8 /src/options.c
parentd37e6dad501b68b2d538d2792f65193f38539f3d (diff)
Patch by Stefan Mark: Add --bg-max wallpaper mode
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c5
1 files changed, 5 insertions, 0 deletions
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);