diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-03-01 21:29:35 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-03-01 21:29:35 +0100 |
commit | b70e4366354eb7c182c9adb0bd7ac952f432d96a (patch) | |
tree | 87f8195daf6ffa21cf42b5b498a96065d78231e7 /src/options.c | |
parent | 3670fc8ea0f23221e3723531d59e26b584819ec2 (diff) |
Apply patchto add --bg-fill (fullscreen background preserving aspect ratio)
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 6 |
1 files changed, 6 insertions, 0 deletions
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" |