summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bickerle <bickerle@droxit.de>2018-06-10 20:08:11 +0200
committerSebastian Bickerle <bickerle@droxit.de>2018-06-10 20:08:11 +0200
commitf7ee0c34bcc2d2ae9075269c53d8b4c10c1594c5 (patch)
tree2b5c8bc583f218498c9481712747fb50cf1350c3
parente01b90f90a64ff85384273c8d26a9cc679b2e37f (diff)
fix .fehbg output for --bg-max
-rw-r--r--src/wallpaper.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wallpaper.c b/src/wallpaper.c
index f1fb149..db14a8c 100644
--- a/src/wallpaper.c
+++ b/src/wallpaper.c
@@ -467,8 +467,10 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled,
fputs("center", fp);
else if (scaled)
fputs("scale", fp);
- else if (filled)
+ else if (filled == 1)
fputs("fill", fp);
+ else if (filled == 2)
+ fputs("max", fp);
else
fputs("tile", fp);
if (opt.image_bg) {