summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wallpaper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallpaper.c b/src/wallpaper.c
index 4eaa660..6aa5c6d 100644
--- a/src/wallpaper.c
+++ b/src/wallpaper.c
@@ -471,6 +471,10 @@ void feh_wm_set_bg(char *fil, Imlib_Image im, int centered, int scaled,
fputs("fill", fp);
else
fputs("tile", fp);
+ if (opt.image_bg) {
+ fputs(" --image-bg ", fp);
+ fputs(opt.image_bg, fp);
+ }
#ifdef HAVE_LIBXINERAMA
if (opt.xinerama) {
if (opt.xinerama_index >= 0) {