summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {